mirror of
https://github.com/ziglang/zig.git
synced 2026-01-27 17:55:24 +00:00
change wasm obj ext to .wasm
This commit is contained in:
parent
14cdb01f35
commit
b64e6cb813
@ -947,6 +947,8 @@ bool target_allows_addr_zero(const ZigTarget *target) {
|
||||
const char *target_o_file_ext(const ZigTarget *target) {
|
||||
if (target->abi == ZigLLVM_MSVC || target->os == OsWindows || target->os == OsUefi) {
|
||||
return ".obj";
|
||||
} else if (target_is_wasm(target)) {
|
||||
return ".wasm";
|
||||
} else {
|
||||
return ".o";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user