aboutsummaryrefslogtreecommitdiff
path: root/core/sync
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-05-21 13:30:43 +0100
committergingerBill <bill@gingerbill.org>2022-05-21 13:30:43 +0100
commitdfbe68bcfe91e1f54eaa47c685d6229f37656f6c (patch)
treeb24272d4b6ebfef34d786e90cbbf7b38f4a769ae /core/sync
parent3049e07f72f51fd9868066c602dbca922643cfb0 (diff)
Begin to add support for experimental wasm64
Diffstat (limited to 'core/sync')
-rw-r--r--core/sync/futex_wasm.odin2
-rw-r--r--core/sync/primitives_wasm.odin2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/sync/futex_wasm.odin b/core/sync/futex_wasm.odin
index 9e96614d6..a32935143 100644
--- a/core/sync/futex_wasm.odin
+++ b/core/sync/futex_wasm.odin
@@ -1,5 +1,5 @@
//+private
-//+build wasm32
+//+build wasm32, wasm64
package sync
import "core:intrinsics"
diff --git a/core/sync/primitives_wasm.odin b/core/sync/primitives_wasm.odin
index 283971ac5..ac36404d9 100644
--- a/core/sync/primitives_wasm.odin
+++ b/core/sync/primitives_wasm.odin
@@ -1,5 +1,5 @@
//+private
-//+build wasm32
+//+build wasm32, wasm64
package sync
_current_thread_id :: proc "contextless" () -> int {