We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 050415f commit 47a1e5fCopy full SHA for 47a1e5f
crates/simd-test-macro/src/lib.rs
@@ -55,7 +55,9 @@ pub fn simd_test(
55
.parse()
56
.unwrap_or_else(|_| panic!("failed to parse name: {}", name.to_string()));
57
58
- let target = env::var("TARGET").expect("TARGET environment variable should be set for rustc");
+ let target = env::var("TARGET").expect(
59
+ "TARGET environment variable should be set for rustc (e.g. TARGET=x86_64-apple-darwin cargo test)"
60
+ );
61
let mut force_test = false;
62
let macro_test = match target
63
.split('-')
0 commit comments