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 5654959 commit 2ec151dCopy full SHA for 2ec151d
build.rs
@@ -39,6 +39,10 @@ fn enable_simd(/*version: Version*/) {
39
println!("cargo:warning=building for no_std disables httparse SIMD");
40
return;
41
}
42
+ if env::var_os("CARGO_CFG_MIRI").is_some() {
43
+ println!("cargo:warning=building for Miri disables httparse SIMD");
44
+ return;
45
+ }
46
47
let env_disable = "CARGO_CFG_HTTPARSE_DISABLE_SIMD";
48
if var_is(env_disable, "1") {
0 commit comments