Update to cranelift 0.20.0.

The biggest change is the split from FunctionIndex to
DefinedFuncIndex to FuncIndex. Take better advantage of this by
converting several Vecs to PrimaryMaps.

Also, table_addr can now handle indices of the table index type,
so we don't need to explicitly uextend them anymore.
This commit is contained in:
Dan Gohman
2018-08-28 20:56:58 -07:00
parent c5f0cd7d5e
commit fb7153ccf4
14 changed files with 109 additions and 78 deletions

View File

@@ -17,15 +17,15 @@ name = "wasm2obj"
path = "src/wasm2obj.rs"
[dependencies]
cranelift-codegen = "0.18.1"
cranelift-native = "0.18.1"
cranelift-codegen = "0.20.0"
cranelift-native = "0.20.0"
wasmtime-environ = { path = "lib/environ" }
wasmtime-execute = { path = "lib/execute" }
wasmtime-obj = { path = "lib/obj" }
docopt = "1.0.0"
serde = "1.0.55"
serde_derive = "1.0.55"
docopt = "1.0.1"
serde = "1.0.75"
serde_derive = "1.0.75"
tempdir = "*"
faerie = "0.4.4"
faerie = "0.5.0"
[workspace]