diff options
author | Thomas Lively <tlively@google.com> | 2023-09-12 16:05:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-12 14:05:30 -0700 |
commit | 38559bf969d72adfaaa49eb87d839cf12730a598 (patch) | |
tree | 3aa657dcd0902e38bcd254d887fdec3c998103f5 /src/wasm-binary.h | |
parent | 592f6ccba11e0d9b74d9fb6965eae17c76aa45b8 (diff) | |
download | binaryen-38559bf969d72adfaaa49eb87d839cf12730a598.tar.gz binaryen-38559bf969d72adfaaa49eb87d839cf12730a598.tar.bz2 binaryen-38559bf969d72adfaaa49eb87d839cf12730a598.zip |
Use standard GC encodings by default (#5873)
The legacy encodings remain available for now by defining
USE_LEGACY_GC_ENCODINGS at build time.
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r-- | src/wasm-binary.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 0ad24a459..9a857ca14 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -21,10 +21,9 @@ #ifndef wasm_wasm_binary_h #define wasm_wasm_binary_h -// Default to using the legacy encodings. Switch this when WasmGC ships. -// Override the default with USE_STANDARD_GC_ENCODINGS or -// USE_LEGACY_GC_ENCODINGS. -#define STANDARD_GC_ENCODINGS 0 +// Default to using the standard encodings. Override the default with +// USE_STANDARD_GC_ENCODINGS or USE_LEGACY_GC_ENCODINGS. +#define STANDARD_GC_ENCODINGS 1 #ifdef USE_STANDARD_GC_ENCODINGS #ifdef USE_LEGACY_GC_ENCODINGS |