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:
Andrew Kelley 2019-09-22 19:03:17 -04:00
parent d6f7b573aa
commit 23f339f1b4
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -1015,6 +1015,7 @@ pub const Target = union(enum) {
=> return .msvc, => return .msvc,
.linux, .linux,
.wasi, .wasi,
.emscripten,
=> return .musl, => return .musl,
} }
} }