aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-06-08 12:18:26 +0100
committergingerBill <bill@gingerbill.org>2021-06-08 12:18:26 +0100
commit28e9a4f79c95784651649a799f594ab8c68aa207 (patch)
tree37302fa38f92c57a7a49f261246852a2f4672d67 /src/main.cpp
parente79fb6829148166c5b4971f294e83a89e5fa37f3 (diff)
Replace `js_wasm32` with `freestanding_wasm32`
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d16a110e3..bb7d94c9b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -152,7 +152,7 @@ i32 linker_stage(lbGenerator *gen) {
String output_base = gen->output_base;
- if (build_context.metrics.os == TargetOs_js) {
+ if (is_arch_wasm()) {
timings_start_section(timings, str_lit("wasm-ld"));
system_exec_command_line_app("wasm-ld",
"\"%.*s\\bin\\wasm-ld\" \"%.*s.wasm-obj\" -o \"%.*s.wasm\" %.*s %.*s",