Skip to content
Myr

propagate --target to rustc invocation

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Ralf Jung · committed by Ralf Jung · parent db32585 · Browse files · 1 file+4 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−0 removed

  • other:+4 added−0 removed

1 file+4 added−0 removed

modified:build.rs+4 added
87 unmodified lines
88 .arg("--out-dir")89 .arg(out_dir)90 .arg(probefile);9192 if let Some(target) = env::var_os("TARGET") {93 cmd.arg("--target").arg(target);94 }9596 // If Cargo wants to set RUSTFLAGS, use that.97 if let Ok(rustflags) = env::var("CARGO_ENCODED_RUSTFLAGS") {98 if !rustflags.is_empty() {99 for arg in rustflags.split('\x1f') {
18 unmodified lines