mirror of
https://github.com/ziglang/zig.git
synced 2025-12-15 02:33:07 +00:00
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.
This commit is contained in:
parent
d6f7b573aa
commit
23f339f1b4
@ -1015,6 +1015,7 @@ pub const Target = union(enum) {
|
||||
=> return .msvc,
|
||||
.linux,
|
||||
.wasi,
|
||||
.emscripten,
|
||||
=> return .musl,
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user