Update build.rs

master
Lokathor 2019-09-06 15:20:05 -06:00
parent b3f16e25f2
commit 095f020122
1 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,9 @@ fn main() {
println!("cargo:compiler-rt={}", cwd.join("compiler-rt").display());
// Activate libm's unstable features to make full use of Nightly.
println!("rustc-cfg=libm/unstable");
// Emscripten's runtime includes all the builtins
if target.contains("emscripten") {
return;