authorgravatar for shritesh@shritesh.comShritesh Bhattarai <shritesh@shritesh.com> 2019-05-15 19:25:29-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-05-15 20:41:22-04:00
logb64e6cb8130ca0ef7deca2191a8312edc7f2ce41
treeba8c66c132f14ffd2ae65a0886c402d1185cb049
parent14cdb01f35b35972b06e95a3a438f9f7910b97f8

change wasm obj ext to .wasm


1 files changed, 2 insertions(+), 0 deletions(-)

src/target.cpp+2
......@@ -947,6 +947,8 @@ bool target_allows_addr_zero(const ZigTarget *target) {
947947const char *target_o_file_ext(const ZigTarget *target) {
948948 if (target->abi == ZigLLVM_MSVC || target->os == OsWindows || target->os == OsUefi) {
949949 return ".obj";
950 } else if (target_is_wasm(target)) {
951 return ".wasm";
950952 } else {
951953 return ".o";
952954 }