mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 14:25:32 +00:00
74875ed554
* Move wasmer-runtime to wasmer-runtime-core * Add the runtime library * Fix issue with macros using wasmer_runtime, fmt * Make default compiler dependency optional * Add instantiate and validate functions
56 lines
1.6 KiB
Plaintext
56 lines
1.6 KiB
Plaintext
(assert_invalid
|
|
(module (func (param i32) (result i32) (set_local 0 (i32.const 1))))
|
|
"type mismatch"
|
|
)
|
|
(assert_invalid
|
|
(module (func (param i64) (result i64) (set_local 0 (i64.const 1))))
|
|
"type mismatch"
|
|
)
|
|
(assert_invalid
|
|
(module (func (param f32) (result f32) (set_local 0 (f32.const 1))))
|
|
"type mismatch"
|
|
)
|
|
(assert_invalid
|
|
(module (func (param f64) (result f64) (set_local 0 (f64.const 1))))
|
|
"type mismatch"
|
|
)
|
|
|
|
(assert_invalid
|
|
(module (memory 1) (func (param i32) (result i32) (i32.store (i32.const 0) (i32.const 1))))
|
|
"type mismatch"
|
|
)
|
|
(assert_invalid
|
|
(module (memory 1) (func (param i64) (result i64) (i64.store (i32.const 0) (i64.const 1))))
|
|
"type mismatch"
|
|
)
|
|
(assert_invalid
|
|
(module (memory 1) (func (param f32) (result f32) (f32.store (i32.const 0) (f32.const 1))))
|
|
"type mismatch"
|
|
)
|
|
(assert_invalid
|
|
(module (memory 1) (func (param f64) (result f64) (f64.store (i32.const 0) (f64.const 1))))
|
|
"type mismatch"
|
|
)
|
|
|
|
(assert_invalid
|
|
(module (memory 1) (func (param i32) (result i32) (i32.store8 (i32.const 0) (i32.const 1))))
|
|
"type mismatch"
|
|
)
|
|
(assert_invalid
|
|
(module (memory 1) (func (param i32) (result i32) (i32.store16 (i32.const 0) (i32.const 1))))
|
|
"type mismatch"
|
|
)
|
|
(assert_invalid
|
|
(module (memory 1) (func (param i64) (result i64) (i64.store8 (i32.const 0) (i64.const 1))))
|
|
"type mismatch"
|
|
)
|
|
(assert_invalid
|
|
(module (memory 1) (func (param i64) (result i64) (i64.store16 (i32.const 0) (i64.const 1))))
|
|
"type mismatch"
|
|
)
|
|
(assert_invalid
|
|
(module (memory 1) (func (param i64) (result i64) (i64.store32 (i32.const 0) (i64.const 1))))
|
|
"type mismatch"
|
|
)
|
|
|