diff --git a/build.rs b/build.rs index 749a08a5..bbae9e28 100644 --- a/build.rs +++ b/build.rs @@ -55,7 +55,7 @@ fn main() { println!("cargo:rustc-cfg=feature=\"unstable\""); // Emscripten's runtime includes all the builtins - if target.env == "emscripten" { + if target.os == "emscripten" { return; }