From 23f339f1b4686ee9c6d81e25d884bb407530dbcc Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 22 Sep 2019 19:03:17 -0400 Subject: [PATCH] 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. --- std/build.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/std/build.zig b/std/build.zig index cddf7c72a1..915b255857 100644 --- a/std/build.zig +++ b/std/build.zig @@ -1015,6 +1015,7 @@ pub const Target = union(enum) { => return .msvc, .linux, .wasi, + .emscripten, => return .musl, } }