Improve linking-related error messages (#3353)
Include more contextual information about why the link failed related to why the types didn't match. Closes #3172
This commit is contained in:
7
tests/misc_testsuite/memory64/linking-errors.wast
Normal file
7
tests/misc_testsuite/memory64/linking-errors.wast
Normal file
@@ -0,0 +1,7 @@
|
||||
(module $m
|
||||
(memory (export "mem") 0)
|
||||
)
|
||||
|
||||
(assert_unlinkable
|
||||
(module (import "m" "mem" (memory i64 0)))
|
||||
"expected 64-bit memory, found 32-bit memory")
|
||||
Reference in New Issue
Block a user