cranelift: move wasmtests in cranelift-wasm

Move test data used by cranelift-wasm's tests in
the crate directory, to make the tests autonomous.

Fixes #2910
This commit is contained in:
Olivier Lemasle
2021-05-18 22:48:52 +02:00
parent 18c61cdfa4
commit 954f7d3876
54 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
(module
(func $main
(v128.const i32x4 1 2 3 4)
(v128.const i32x4 1 2 3 4)
(call $add)
drop
)
(func $add (param $a v128) (param $b v128) (result v128)
(local.get $a)
(local.get $b)
(i32x4.add)
)
(start $main)
)