Commit d1a35dd2 authored by topjohnwu's avatar topjohnwu

Fix cargo builds on Windows

parent 26116ac4
......@@ -227,7 +227,7 @@ def run_cargo_build(args):
targets = set(args.target) & set(rust_targets)
env = os.environ.copy()
env['PATH'] = f'{rust_bin}:{env["PATH"]}'
env['CARGO_BUILD_RUSTC'] = op.join(rust_bin, 'rustc' + EXE_EXT)
# Install cxxbridge and generate C++ bindings
native_out = op.join('..', '..', 'native', 'out')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment