Move test data used by cranelift-wasm's tests in the crate directory, to make the tests autonomous. Fixes #2910
13 lines
262 B
Plaintext
13 lines
262 B
Plaintext
(module
|
|
(data $passive "this is a passive data segment")
|
|
(memory 0)
|
|
|
|
(func (export "init") (param i32 i32 i32)
|
|
local.get 0 ;; dst
|
|
local.get 1 ;; src
|
|
local.get 2 ;; cnt
|
|
memory.init $passive)
|
|
|
|
(func (export "drop")
|
|
data.drop $passive))
|