mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-31 01:11:06 +00:00
We statically know which passive segments are actually used, so let's be sure to gc them!
19 lines
258 B
Plaintext
19 lines
258 B
Plaintext
(module
|
|
(memory 0 10)
|
|
|
|
(func $foo
|
|
i32.const 0
|
|
i32.const 0
|
|
i32.const 0
|
|
memory.init 0
|
|
)
|
|
|
|
(data passive "wut")
|
|
|
|
)
|
|
|
|
;; STDOUT (update this section with `BLESS_TESTS=1` while running tests)
|
|
;; (module
|
|
;; (memory (;0;) 0 10))
|
|
;; STDOUT
|