Loading build-plugins.py +4 −4 Original line number Diff line number Diff line Loading @@ -12,10 +12,10 @@ def process_rust(path, module): else: subprocess.Popen(["cargo", "build", "--release"], cwd=cwd).wait() #subprocess.Popen(["cargo", "build", "--release", "--target", "x86_64-pc-windows-gnu"] , cwd=cwd).wait() subprocess.Popen(["bash", "-c", 'WINEPATH=~/python64 echo "set RUSTFLAGS=-L Z:/root/python64 && cargo build --release" | WINEPATH=~/python64 wine cmd']) subprocess.Popen(["ls", "target"], cwd=cwd) subprocess.Popen(["ls", "target", "release"], cwd=cwd) subprocess.Popen(["find", "."],cwd=cwd) subprocess.Popen(["bash", "-c", 'WINEPATH=~/python64 echo "set RUSTFLAGS=-L Z:/root/python64 && cargo build --release" | WINEPATH=~/python64 wine cmd']).wait() subprocess.Popen(["ls", "target"], cwd=cwd).wait() subprocess.Popen(["ls", "target", "release"], cwd=cwd).wait() subprocess.Popen(["find", "."],cwd=cwd).wait() shutil.copyfile(os.path.join(path,module,"target","release", module + ".dll"),os.path.join(path,module,"target","release", module + ".pyd")) return [os.path.join(path,module,"target","release", module),os.path.join(path,module,"target" ,"release", module + ".pyd")] Loading Loading
build-plugins.py +4 −4 Original line number Diff line number Diff line Loading @@ -12,10 +12,10 @@ def process_rust(path, module): else: subprocess.Popen(["cargo", "build", "--release"], cwd=cwd).wait() #subprocess.Popen(["cargo", "build", "--release", "--target", "x86_64-pc-windows-gnu"] , cwd=cwd).wait() subprocess.Popen(["bash", "-c", 'WINEPATH=~/python64 echo "set RUSTFLAGS=-L Z:/root/python64 && cargo build --release" | WINEPATH=~/python64 wine cmd']) subprocess.Popen(["ls", "target"], cwd=cwd) subprocess.Popen(["ls", "target", "release"], cwd=cwd) subprocess.Popen(["find", "."],cwd=cwd) subprocess.Popen(["bash", "-c", 'WINEPATH=~/python64 echo "set RUSTFLAGS=-L Z:/root/python64 && cargo build --release" | WINEPATH=~/python64 wine cmd']).wait() subprocess.Popen(["ls", "target"], cwd=cwd).wait() subprocess.Popen(["ls", "target", "release"], cwd=cwd).wait() subprocess.Popen(["find", "."],cwd=cwd).wait() shutil.copyfile(os.path.join(path,module,"target","release", module + ".dll"),os.path.join(path,module,"target","release", module + ".pyd")) return [os.path.join(path,module,"target","release", module),os.path.join(path,module,"target" ,"release", module + ".pyd")] Loading