mirror of
https://github.com/ziglang/zig.git
synced 2025-12-16 11:13:08 +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,
|
=> return .msvc,
|
||||||
.linux,
|
.linux,
|
||||||
.wasi,
|
.wasi,
|
||||||
|
.emscripten,
|
||||||
=> return .musl,
|
=> return .musl,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user