Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
c3d273c980b74f3cf3b883ade71f6f8fe0d1569a
rust/library/stdarch/crates/coresimd/build.rs

6 lines
101 B
Rust
Raw Normal View History

Fix default `cargo test` experience (#397) Turns out Cargo doesn't automatically set `TARGET` for rustc invocations so carry it forward manually from the build script over to the rustc invocation.
2018-03-22 17:40:44 -05:00
use std::env;
fn main() {
reformat with latest rustfmt
2018-06-06 00:17:14 +02:00
println!("cargo:rustc-env=TARGET={}", env::var("TARGET").unwrap());
Fix default `cargo test` experience (#397) Turns out Cargo doesn't automatically set `TARGET` for rustc invocations so carry it forward manually from the build script over to the rustc invocation.
2018-03-22 17:40:44 -05:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 91ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API