summaryrefslogtreecommitdiff
path: root/vendor/github.com/tetratelabs/wazero/experimental/features.go
diff options
context:
space:
mode:
authorLibravatar Terin Stock <terinjokes@gmail.com>2025-03-09 17:47:56 +0100
committerLibravatar Terin Stock <terinjokes@gmail.com>2025-12-01 22:08:04 +0100
commitb1af8fd87760b34e3ff2fd3bda38f211815a0473 (patch)
tree9317fad1a7ec298d7a8d2678e4e422953bbc6f33 /vendor/github.com/tetratelabs/wazero/experimental/features.go
parent[chore] update URLs to forked source (diff)
downloadgotosocial-b1af8fd87760b34e3ff2fd3bda38f211815a0473.tar.xz
[chore] remove vendor
Diffstat (limited to 'vendor/github.com/tetratelabs/wazero/experimental/features.go')
-rw-r--r--vendor/github.com/tetratelabs/wazero/experimental/features.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/vendor/github.com/tetratelabs/wazero/experimental/features.go b/vendor/github.com/tetratelabs/wazero/experimental/features.go
deleted file mode 100644
index a695f149f..000000000
--- a/vendor/github.com/tetratelabs/wazero/experimental/features.go
+++ /dev/null
@@ -1,18 +0,0 @@
-package experimental
-
-import "github.com/tetratelabs/wazero/api"
-
-// CoreFeaturesThreads enables threads instructions ("threads").
-//
-// # Notes
-//
-// - The instruction list is too long to enumerate in godoc.
-// See https://github.com/WebAssembly/threads/blob/main/proposals/threads/Overview.md
-// - Atomic operations are guest-only until api.Memory or otherwise expose them to host functions.
-// - On systems without mmap available, the memory will pre-allocate to the maximum size. Many
-// binaries will use a theroetical maximum like 4GB, so if using such a binary on a system
-// without mmap, consider editing the binary to reduce the max size setting of memory.
-const CoreFeaturesThreads = api.CoreFeatureSIMD << 1
-
-// CoreFeaturesThreads enables tail call instructions ("tail-call").
-const CoreFeaturesTailCall = api.CoreFeatureSIMD << 2