Skip to content

Commit e1c42c2

Browse files
tlivelyradekdoulik
authored andcommitted
Use standard GC encodings by default (WebAssembly#5873)
The legacy encodings remain available for now by defining USE_LEGACY_GC_ENCODINGS at build time.
1 parent 8879a6b commit e1c42c2

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/wasm-binary.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@
2121
#ifndef wasm_wasm_binary_h
2222
#define wasm_wasm_binary_h
2323

24-
// Default to using the legacy encodings. Switch this when WasmGC ships.
25-
// Override the default with USE_STANDARD_GC_ENCODINGS or
26-
// USE_LEGACY_GC_ENCODINGS.
27-
#define STANDARD_GC_ENCODINGS 0
24+
// Default to using the standard encodings. Override the default with
25+
// USE_STANDARD_GC_ENCODINGS or USE_LEGACY_GC_ENCODINGS.
26+
#define STANDARD_GC_ENCODINGS 1
2827

2928
#ifdef USE_STANDARD_GC_ENCODINGS
3029
#ifdef USE_LEGACY_GC_ENCODINGS
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)