zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit b64e6cb8130ca0ef7deca2191a8312edc7f2ce41 (tree)
parent 14cdb01f35b35972b06e95a3a438f9f7910b97f8
Author: Shritesh Bhattarai <shritesh@shritesh.com>
Date:   Wed, 15 May 2019 19:25:29 -0500

change wasm obj ext to .wasm

Diffstat:
Msrc/target.cpp | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/target.cpp b/src/target.cpp @@ -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"; }