authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-09-22 19:03:17-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-09-22 19:10:18-04:00
log23f339f1b4686ee9c6d81e25d884bb407530dbcc
treece572b9ef04e459549a1d7bc8607dd651c332193
parentd6f7b573aacd924e199f6bb62c8e0c7e79138930
signaturelock-open Commit is signed but in an unrecognized format.

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 files changed, 1 insertions(+), 0 deletions(-)

std/build.zig+1
...@@ -1015,6 +1015,7 @@ pub const Target = union(enum) {...@@ -1015,6 +1015,7 @@ pub const Target = union(enum) {
1015 => return .msvc,1015 => return .msvc,
1016 .linux,1016 .linux,
1017 .wasi,1017 .wasi,
1018 .emscripten,
1018 => return .musl,1019 => return .musl,
1019 }1020 }
1020 }1021 }