Commit 23f339f1b4

Andrew Kelley <andrew@ziglang.org>
2019-09-23 01:03:17
add emscripten to std.build.Target.defaultAbi
After upgrading to LLVM 9 we now have the emscripten OS available. Fix the compile error in this function by specifying the default ABI for emscripten.
1 parent d6f7b57
Changed files (1)
std/build.zig
@@ -1015,6 +1015,7 @@ pub const Target = union(enum) {
             => return .msvc,
             .linux,
             .wasi,
+            .emscripten,
             => return .musl,
         }
     }