aboutsummaryrefslogtreecommitdiff
path: root/core/runtime
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-10-31 19:00:01 +0000
committergingerBill <bill@gingerbill.org>2021-10-31 19:00:01 +0000
commit5f51337a01fa4a1e7a461604d564fa64601727cf (patch)
tree376292106d4f3bda75b3126ebe1d76108967196b /core/runtime
parentfca7142a3c5f942235580aec9661003727601fd3 (diff)
Add procs for wasm32
Diffstat (limited to 'core/runtime')
-rw-r--r--core/runtime/procs_wasm32.odin7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/runtime/procs_wasm32.odin b/core/runtime/procs_wasm32.odin
new file mode 100644
index 000000000..dbc0dfcb7
--- /dev/null
+++ b/core/runtime/procs_wasm32.odin
@@ -0,0 +1,7 @@
+//+build wasm32
+package runtime
+
+@(link_name="__ashlti3")
+__ashlti3 :: proc "c" (a: i64, b: i32) -> i64 {
+ return a
+} \ No newline at end of file