Commit Graph

193 Commits

Author SHA1 Message Date
Syrus Akbary
9680d586c3 Use iterator map for compilation 2018-11-18 22:12:22 -08:00
Syrus Akbary
a7e1775255 Added mocking back into instance 2018-11-18 21:05:26 -08:00
Syrus Akbary
998d7294f0 Fix table element size 2018-11-18 15:41:31 -08:00
Syrus Akbary
f3cbfc0e09 Fixed return_mode 2018-11-18 15:23:38 -08:00
Syrus Akbary
91875fef06 Merge branch 'master' into cranelift-upgrade
# Conflicts:
#	src/webassembly/module.rs
2018-11-18 13:09:34 -08:00
Steve Akinyemi
e7923d3b32 Add memory_grow.wast test file. 2018-11-17 22:13:59 +01:00
Steve Akinyemi
ba6bc71019 Fix LinearMemory.current update bug 2018-11-17 19:56:15 +01:00
Syrus Akbary
7977d09fc7 Merge branch 'master' into fix/table-import-memory-repr-rebased
# Conflicts:
#	.circleci/config.yml
#	install.sh
#	src/build_spectests.rs
#	src/linkers/emscripten/abort.rs
#	src/linkers/emscripten/mod.rs
#	src/linkers/mod.rs
#	src/main.rs
#	src/webassembly/instance.rs
#	src/webassembly/memory.rs
#	src/webassembly/mod.rs
#	src/webassembly/module.rs
2018-11-17 01:01:47 -08:00
Syrus Akbary
84b9847456 Improved offsets in module using pointer size rather than fixed numbers
# Conflicts:
#	src/webassembly/module.rs
2018-11-17 00:46:27 -08:00
Syrus Akbary
e4ed4cc532 Improved instance & module data pointers location
# Conflicts:
#	src/webassembly/instance.rs
#	src/webassembly/module.rs
2018-11-17 00:42:31 -08:00
Syrus Akbary
ac2d605472 Added Instance options, automatically mock missing imports
# Conflicts:
#	src/webassembly/instance.rs
#	src/webassembly/mod.rs
2018-11-17 00:37:45 -08:00
Syrus Akbary
b16fceb9d3 Added emscripten abort function
# Conflicts:
#	src/linkers/emscripten/mod.rs
2018-11-17 00:10:41 -08:00
Syrus Akbary
7bd2af98b3 Refactored emscripten integratoin
# Conflicts:
#	src/integrations/mod.rs
2018-11-17 00:09:52 -08:00
Syrus Akbary
c452ff1c04 Improved error messaging 2018-11-17 00:07:18 -08:00
Syrus Akbary
fd8feedb51 Added token spectests 2018-11-17 00:06:15 -08:00
Syrus Akbary
c5c033c02b Added traps spectests 2018-11-17 00:06:05 -08:00
Syrus Akbary
a96c106b17 Improved debug statements
Same commit as aba907cbc4 but without using the log debug macro (as causes fail)
2018-11-17 00:05:41 -08:00
Steve Akinyemi
df482667aa Fix table and memory import and improve memory storage 2018-11-16 16:55:49 +01:00
Syrus Akbary
a9e46a02d3 Merge branch 'master' into cranelift-upgrade
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	src/webassembly/mod.rs
#	src/webassembly/module.rs
2018-11-15 19:40:45 -08:00
Syrus Akbary
5c0e404d96 Refactored math intrinsics into its own module 2018-11-15 15:06:12 -08:00
Syrus Akbary
1faaad7f72 Autoformat files with cargo fmt 2018-11-15 13:31:37 -08:00
Syrus Akbary
bb9c9f7d0a Updated spectests based on latest wabt 2018-11-15 13:30:44 -08:00
Syrus Akbary
2dcd25bebd Make wasmer work with stable Rust 2018-11-15 13:30:32 -08:00
Syrus Akbary
459d5f376d Improved signal error messages 2018-11-15 01:22:44 -08:00
Syrus Akbary
cdbd27275c Improved errors formatting 2018-11-15 00:51:18 -08:00
Syrus Akbary
ef09889df9 Improved offsets in module using pointer size rather than fixed numbers 2018-11-14 23:56:02 -08:00
Syrus Akbary
adf6d298b6 Trying to upgrade Cranelift to 0.23 2018-11-14 23:10:35 -08:00
Syrus Akbary
6bfd7d9081 Improved instance & module data pointers location 2018-11-14 11:05:57 -08:00
Syrus Akbary
278dff0fa6 Added Instance options, automatically mock missing imports 2018-11-13 19:44:24 -08:00
Syrus Akbary
aa5a5549f2 Added emscripten abort function 2018-11-13 19:42:36 -08:00
Syrus Akbary
d56da9c80c Refactored emscripten integratoin 2018-11-13 19:19:23 -08:00
Syrus Akbary
219bd68256 Improved error messaging 2018-11-13 18:41:51 -08:00
Syrus Akbary
dd1553154c Added token spectests 2018-11-13 17:41:29 -08:00
Syrus Akbary
75bcc5e0bd Added traps spectests 2018-11-13 17:40:38 -08:00
Syrus Akbary
aba907cbc4 Improved debug statements 2018-11-13 17:21:03 -08:00
Steve Akinyemi
73eba2e357 Fix wrong for bit mask canonical nan 2018-11-07 19:03:52 +01:00
Syrus Akbary
58c6822359 Fixed warnings 2018-11-07 14:44:17 +01:00
Steve Akinyemi
2fe528aa57 Add utility print function 2018-11-07 13:52:31 +01:00
Steve Akinyemi
5699b46566 Add todo notes 2018-11-07 11:57:28 +01:00
Steve Akinyemi
df0feb9b7f Update spectests 2018-11-07 11:57:28 +01:00
Steve Akinyemi
ffe383e611 Add updated upstream tests 2018-11-07 11:56:37 +01:00
Steve Akinyemi
3a65bdbac5 Fix memory grow issues 2018-11-07 11:55:48 +01:00
Syrus Akbary
702ea931b4 Fixed grow_memory call 2018-11-06 16:54:43 +01:00
Syrus Akbary
e7b4d06ec0 Fixed all Rust code warnings 2018-11-06 15:51:01 +01:00
Syrus Akbary
0045d263d2 Added support for assert_trap in spectests 2018-11-06 11:17:16 +01:00
Syrus Akbary
52614de22f Added signal handler to handle WebAssembly traps properly
Please read more about this here: https://github.com/CraneStation/wasmtime/issues/15
Code inspired by: 625a2b6c08
2018-11-06 11:15:40 +01:00
Syrus Akbary
4e435e5ae1 Implemented spectests assert trap 2018-11-06 01:32:38 +01:00
Syrus Akbary
f44466d1a3 Improved Instance docs 2018-11-02 11:37:45 +01:00
Steve Akinyemi
0bde1c2d00 Fix assert_return_canonical_nan and assert_return_arithmetic__nan for tests 2018-11-02 10:03:44 +01:00
Syrus Akbary
1f8a9d931c Improved speed of tests with a special feature flag 2018-10-30 17:35:11 +01:00