summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h
index c31aac9c1..485afade1 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -56,6 +56,13 @@
namespace wasm {
+enum Feature : uint32_t {
+ MVP = 0,
+ Atomics = 1 << 0,
+ All = 0xffffffff,
+};
+typedef uint32_t FeatureSet;
+
// An index in a wasm module
typedef uint32_t Index;