diff options
author | ericvergnaud <eric.vergnaud@wanadoo.fr> | 2024-02-01 19:48:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-01 10:48:06 -0800 |
commit | 2b3a2e8c341395e4cb0f76db6ad4f31fb17720cc (patch) | |
tree | cca37d0a307f56b351611fb11e604d347c0ba301 /test/binaryen.js/reloc.js.txt | |
parent | 6c70fcdf246ba5619c75b56e2ffddd8256dfd857 (diff) | |
download | binaryen-2b3a2e8c341395e4cb0f76db6ad4f31fb17720cc.tar.gz binaryen-2b3a2e8c341395e4cb0f76db6ad4f31fb17720cc.tar.bz2 binaryen-2b3a2e8c341395e4cb0f76db6ad4f31fb17720cc.zip |
C API: Use segment names (#6254)
Move from segment indexes to names. This is a breaking change to make the API more
capable and consistent. An effort has been made to reduce the burden on C API users
where possible (specifically, you can avoid providing names and let Binaryen make them
for you, which will basically be numbers that match the indexes from before).
Fixes #6247
Diffstat (limited to 'test/binaryen.js/reloc.js.txt')
-rw-r--r-- | test/binaryen.js/reloc.js.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/binaryen.js/reloc.js.txt b/test/binaryen.js/reloc.js.txt index 0aa075841..b98bc4bef 100644 --- a/test/binaryen.js/reloc.js.txt +++ b/test/binaryen.js/reloc.js.txt @@ -3,7 +3,7 @@ (import "env" "memory_base" (global $memory_base i32)) (import "env" "table_base" (global $table_base i32)) (memory $0 1) - (data $0 (global.get $memory_base) "data data") + (data $x0 (global.get $memory_base) "data data") (table $0 1 funcref) (elem $0 (global.get $table_base) $func $func) (func $func |