Skip to content

Commit a39ef1e

Browse files
committed
don't override build target (?), add host wrapper access
1 parent bcc3ee7 commit a39ef1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Runner.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,8 @@ function platform_envs(platform::AbstractPlatform, src_name::AbstractString;
13621362
"RUSTC" => "rustc",
13631363
"CARGO" => "cargo",
13641364
"CARGO_BUILD_JOBS" => nproc,
1365-
"CARGO_BUILD_TARGET" => map_rust_target(platform),
1365+
# "CARGO_BUILD_TARGET" => map_rust_target(platform),
1366+
"CARGO_HOST_WRAPPER" => "$(host_target)-cargo",
13661367
"CARGO_HOME" => "/opt/$(host_target)",
13671368
"RUSTUP_HOME" => "/opt/$(host_target)",
13681369
))

0 commit comments

Comments
 (0)