mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-28 12:35:26 +00:00
Fix cargo builds on Windows
This commit is contained in:
parent
26116ac414
commit
d1a35dd2ba
2
build.py
2
build.py
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user