mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-01 18:01:06 +00:00
Remove passive segment tests for now
This commit is contained in:
parent
ef37986541
commit
3de5253554
@ -99,6 +99,10 @@ fn run(config: &mut Config, module: &mut Module) {
|
|||||||
info!("skipping reloc section");
|
info!("skipping reloc section");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Section::DataCount(..) => {
|
||||||
|
info!("skipping data count section");
|
||||||
|
continue;
|
||||||
|
}
|
||||||
Section::Type(ref mut s) => cx.remap_type_section(s),
|
Section::Type(ref mut s) => cx.remap_type_section(s),
|
||||||
Section::Import(ref mut s) => cx.remap_import_section(s),
|
Section::Import(ref mut s) => cx.remap_import_section(s),
|
||||||
Section::Function(ref mut s) => cx.remap_function_section(s),
|
Section::Function(ref mut s) => cx.remap_function_section(s),
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
(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
|
|
@ -1,29 +0,0 @@
|
|||||||
(module
|
|
||||||
(memory 0 10)
|
|
||||||
|
|
||||||
(func $foo
|
|
||||||
i32.const 0
|
|
||||||
i32.const 0
|
|
||||||
i32.const 0
|
|
||||||
memory.init 1
|
|
||||||
)
|
|
||||||
|
|
||||||
(data passive "wut")
|
|
||||||
(data passive "wut2")
|
|
||||||
(data passive "wut3")
|
|
||||||
|
|
||||||
(start $foo)
|
|
||||||
)
|
|
||||||
|
|
||||||
;; STDOUT (update this section with `BLESS_TESTS=1` while running tests)
|
|
||||||
;; (module
|
|
||||||
;; (type (;0;) (func))
|
|
||||||
;; (func $foo (type 0)
|
|
||||||
;; i32.const 0
|
|
||||||
;; i32.const 0
|
|
||||||
;; i32.const 0
|
|
||||||
;; memory.init 0)
|
|
||||||
;; (memory (;0;) 0 10)
|
|
||||||
;; (start 0)
|
|
||||||
;; (data (;0;) passive "wut2"))
|
|
||||||
;; STDOUT
|
|
@ -1,32 +0,0 @@
|
|||||||
(module
|
|
||||||
(import "" "" (table 0 1 anyfunc))
|
|
||||||
|
|
||||||
(func $foo
|
|
||||||
i32.const 0
|
|
||||||
i32.const 0
|
|
||||||
i32.const 0
|
|
||||||
table.init 1
|
|
||||||
)
|
|
||||||
|
|
||||||
(func $bar)
|
|
||||||
(func $bar2)
|
|
||||||
|
|
||||||
(elem passive $bar)
|
|
||||||
(elem passive $bar2)
|
|
||||||
|
|
||||||
(start $foo)
|
|
||||||
)
|
|
||||||
|
|
||||||
;; STDOUT (update this section with `BLESS_TESTS=1` while running tests)
|
|
||||||
;; (module
|
|
||||||
;; (type (;0;) (func))
|
|
||||||
;; (import "" "" (table (;0;) 0 1 anyfunc))
|
|
||||||
;; (func $foo (type 0)
|
|
||||||
;; i32.const 0
|
|
||||||
;; i32.const 0
|
|
||||||
;; i32.const 0
|
|
||||||
;; table.init 0)
|
|
||||||
;; (func $bar2 (type 0))
|
|
||||||
;; (start 0)
|
|
||||||
;; (elem (;0;) passive $bar2))
|
|
||||||
;; STDOUT
|
|
Loading…
x
Reference in New Issue
Block a user