]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_target/spec/wasm32_unknown_emscripten.rs
Fix ABI, run and fix more tests, re-enable CI for PRs
[rust.git] / src / librustc_target / spec / wasm32_unknown_emscripten.rs
index 90f3d2fc52db5b5f280f9c80f4a3e3351f3b955d..6a2c8c495372f2d3483283aa7c6dd9065f975e41 100644 (file)
@@ -10,6 +10,8 @@ pub fn target() -> Result<Target, String> {
                                "ASSERTIONS=1".to_string(),
                                "-s".to_string(),
                                "DISABLE_EXCEPTION_CATCHING=1".to_string(),
+                               "-s".to_string(),
+                               "ABORTING_MALLOC=0".to_string(),
                                // FIXME(tlively): Enable this linker option once libc type errors
                                // are resolved. See https://github.com/rust-lang/libc/pull/1478.
                                // "-Wl,--fatal-warnings".to_string(),