aboutsummaryrefslogtreecommitdiff
path: root/runtime/wasm32.meson
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-12-03 20:05:59 +0000
committerMichael Williamson <mike@zwobble.org>2023-12-03 20:05:59 +0000
commit9e5eb030d1d2a71e453e37fc5f8ba9930122a839 (patch)
treed817856559376cf61e43a596c116bd6b03d260ab /runtime/wasm32.meson
parentf5044097636f0cf171f816f4ffb079617175f621 (diff)
Rename wasm target to wasm32
Diffstat (limited to 'runtime/wasm32.meson')
-rw-r--r--runtime/wasm32.meson9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/wasm32.meson b/runtime/wasm32.meson
new file mode 100644
index 00000000..6adb248b
--- /dev/null
+++ b/runtime/wasm32.meson
@@ -0,0 +1,9 @@
+[binaries]
+c = 'clang-16'
+ld = 'wasm-ld'
+ar = 'llvm-ar-16'
+
+[properties]
+c_args = [ '--target=wasm32', '-D__WASM__' ]
+c_link_args = [ '--target=wasm32' ]
+