]> git.lizzy.rs Git - rust.git/commitdiff
Remove ERROR_ON_UNDEFINED_SYMBOLS according to sbc100's comments
authorHood Chatham <roberthoodchatham@gmail.com>
Thu, 9 Jun 2022 20:37:38 +0000 (13:37 -0700)
committerHood Chatham <roberthoodchatham@gmail.com>
Thu, 9 Jun 2022 20:37:38 +0000 (13:37 -0700)
compiler/rustc_target/src/spec/wasm32_unknown_emscripten.rs

index f02db4b0f357800ded8b8bd9d98137ae9f6e651a..57a8dc1460751b202e77495cb99eff074d90efa4 100644 (file)
@@ -17,8 +17,6 @@ pub fn target() -> Target {
     post_link_args.insert(
         LinkerFlavor::Em,
         vec![
-            "-s".into(),
-            "ERROR_ON_UNDEFINED_SYMBOLS=1".into(),
             "-s".into(),
             "ABORTING_MALLOC=0".into(),
             "-Wl,--fatal-warnings".into(),