Skip to content

Commit

Permalink
Update cargo_build.py
Browse files Browse the repository at this point in the history
Detecting architecture(the former change was incomplete)
  • Loading branch information
OB0NE authored Sep 8, 2024
1 parent cadf4d0 commit d690238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-aux/cargo_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
else:
rustflags = ''

cargo_call = f"env {cargo_env} {cargo_cmd} build {cargo_options}"
cargo_call = f"env {cargo_env} RUSTFLAGS='{rustflags}' {cargo_cmd} build {cargo_options}"
cp_call = f"cp {bin_output} {output_file}"

print(cargo_call, file=sys.stderr)
Expand Down

0 comments on commit d690238

Please sign in to comment.