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
d30c29e9263ea63c4b053322f45fccd25bc0a900
rust/library/stdarch/crates/coresimd/build.rs

7 lines
151 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());
Rewrite simd128 and wasm support (#620) * Update representation of `v128` * Rename everything with new naming convention of underscores and no modules/impls * Remove no longer necessary `wasm_simd128` feature * Remove `#[target_feature]` attributes (use `#[cfg]` instead) * Update `assert_instr` tests * Update some implementations as LLVM has evolved * Allow some more esoteric syntax in `#[assert_instr]` * Adjust the safety of APIs where appropriate * Remove macros in favor of hand-coded implementations * Comment out the tests for now as there's no known runtime for these yet
2018-12-13 20:17:30 -06:00
println!("cargo:rerurn-if-changed=build.rs");
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: 172ms Template: 3ms
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