commit 23f339f1b4686ee9c6d81e25d884bb407530dbcc (tree)
parent d6f7b573aacd924e199f6bb62c8e0c7e79138930
Author: Andrew Kelley <andrew@ziglang.org>
Date: Sun, 22 Sep 2019 19:03:17 -0400
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.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/std/build.zig b/std/build.zig
@@ -1015,6 +1015,7 @@ pub const Target = union(enum) {
=> return .msvc,
.linux,
.wasi,
+ .emscripten,
=> return .musl,
}
}