Move compilation into Module from Instance. (#822)

* Move compilation into Module from Instance.

* Fix fuzzing

* Use wasmtime::Module in fuzzing crates

Instead of wasmtime_jit.

* Compile eagerly.

* Review fixes.

* Always use the saved name.

* Preserve the former behavior for fuzzing oracle
This commit is contained in:
Sergei Pepyakin
2020-01-16 23:37:10 +01:00
committed by Alex Crichton
parent e474a9e822
commit 5b8be5f262
12 changed files with 378 additions and 413 deletions

3
Cargo.lock generated
View File

@@ -2166,7 +2166,6 @@ dependencies = [
"log",
"wasmtime",
"wasmtime-fuzzing",
"wasmtime-jit",
]
[[package]]
@@ -2181,8 +2180,6 @@ dependencies = [
"wasmparser 0.47.0",
"wasmprinter",
"wasmtime",
"wasmtime-environ",
"wasmtime-jit",
"wat",
]