Bump versions of wasm-tools crates (#4380)

* Bump versions of wasm-tools crates

Note that this leaves new features in the component model, outer type
aliases for core wasm types, unimplemented for now.

* Move to crates.io-based versions of tools
This commit is contained in:
Alex Crichton
2022-07-05 14:23:03 -05:00
committed by GitHub
parent 7943d34483
commit 41ba851a95
16 changed files with 46 additions and 38 deletions

View File

@@ -27,7 +27,7 @@ wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync" }
cap-std = "0.25.0"
[dev-dependencies]
wat = "1.0"
wat = "1.0.45"
[features]
default = ["shuffling-allocator"]

View File

@@ -24,7 +24,7 @@ wasmtime = { path = "../wasmtime", default-features = false, features = ['cranel
wasmtime-c-api-macros = { path = "macros" }
# Optional dependency for the `wat2wasm` API
wat = { version = "1.0.42", optional = true }
wat = { version = "1.0.45", optional = true }
# Optional dependencies for the `wasi` feature
wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync", optional = true }

View File

@@ -19,7 +19,7 @@ cranelift-codegen = { path = "../../cranelift/codegen", version = "0.87.0" }
cranelift-frontend = { path = "../../cranelift/frontend", version = "0.87.0" }
cranelift-entity = { path = "../../cranelift/entity", version = "0.87.0" }
cranelift-native = { path = "../../cranelift/native", version = "0.87.0" }
wasmparser = "0.86.0"
wasmparser = "0.87.0"
target-lexicon = "0.12"
gimli = { version = "0.26.0", default-features = false, features = ['read', 'std'] }
object = { version = "0.28.0", default-features = false, features = ['write'] }

View File

@@ -14,7 +14,7 @@ edition = "2021"
anyhow = "1.0"
cranelift-entity = { path = "../../cranelift/entity", version = "0.87.0" }
wasmtime-types = { path = "../types", version = "0.40.0" }
wasmparser = "0.86.0"
wasmparser = "0.87.0"
indexmap = { version = "1.0.2", features = ["serde-1"] }
thiserror = "1.0.4"
serde = { version = "1.0.94", features = ["derive"] }

View File

@@ -583,6 +583,10 @@ impl<'a, 'data> Translator<'a, 'data> {
let instance = ModuleInstanceIndex::from_u32(instance_index);
self.alias_module_instance_export(kind, instance, name)
}
wasmparser::Alias::Outer { kind, count, index } => {
drop((kind, count, index));
unimplemented!("outer core index");
}
};
self.result.initializers.push(init);
}

View File

@@ -428,6 +428,10 @@ impl ComponentTypesBuilder {
);
assert!(prev.is_none());
}
wasmparser::ModuleTypeDeclaration::Alias(alias) => {
drop(alias);
unimplemented!("outer alias in module type");
}
}
}

View File

@@ -15,13 +15,13 @@ log = "0.4.8"
rayon = "1.2.1"
target-lexicon = "0.12.3"
tempfile = "3.3.0"
wasmparser = "0.86.0"
wasmprinter = "0.2.36"
wasmparser = "0.87.0"
wasmprinter = "0.2.37"
wasmtime = { path = "../wasmtime" }
wasmtime-wast = { path = "../wast" }
wasm-encoder = "0.13.0"
wasm-smith = "0.11.1"
wasm-mutate = "0.2.4"
wasm-encoder = "0.14.0"
wasm-smith = "0.11.2"
wasm-mutate = "0.2.5"
wasm-spec-interpreter = { path = "./wasm-spec-interpreter", optional = true }
wasmi = "0.7.0"
@@ -33,7 +33,7 @@ wasmi = "0.7.0"
v8 = "0.44.3"
[dev-dependencies]
wat = "1.0.37"
wat = "1.0.45"
rand = { version = "0.8.0", features = ["small_rng"] }
# Only enable the `build-libinterpret` feature when fuzzing is enabled, enabling

View File

@@ -16,7 +16,7 @@ ocaml-interop = { version = "0.8", optional = true }
once_cell = { version = "1.12.0", optional = true }
[dev-dependencies]
wat = "1.0"
wat = "1.0.45"
[features]
build-libinterpret = ["ocaml-interop", "once_cell"]

View File

@@ -20,7 +20,7 @@ pretty_env_logger = "0.4.0"
tempfile = "3.1.0"
os_pipe = "0.9"
anyhow = "1.0.19"
wat = "1.0.42"
wat = "1.0.45"
cap-std = "0.25.0"
tokio = { version = "1.8.0", features = ["rt-multi-thread"] }

View File

@@ -12,4 +12,4 @@ edition = "2021"
cranelift-entity = { path = "../../cranelift/entity", version = "0.87.0", features = ['enable-serde'] }
serde = { version = "1.0.94", features = ["derive"] }
thiserror = "1.0.4"
wasmparser = { version = "0.86.0", default-features = false }
wasmparser = { version = "0.87.0", default-features = false }

View File

@@ -21,14 +21,14 @@ wasmtime-fiber = { path = "../fiber", version = "=0.40.0", optional = true }
wasmtime-cranelift = { path = "../cranelift", version = "=0.40.0", optional = true }
wasmtime-component-macro = { path = "../component-macro", version = "=0.40.0", optional = true }
target-lexicon = { version = "0.12.0", default-features = false }
wasmparser = "0.86.0"
wasmparser = "0.87.0"
anyhow = "1.0.19"
region = "2.2.0"
libc = "0.2"
cfg-if = "1.0"
backtrace = { version = "0.3.61" }
log = "0.4.8"
wat = { version = "1.0.43", optional = true }
wat = { version = "1.0.45", optional = true }
serde = { version = "1.0.94", features = ["derive"] }
bincode = "1.2.1"
indexmap = "1.6"

View File

@@ -12,7 +12,7 @@ edition = "2021"
[dependencies]
anyhow = "1.0.19"
wasmtime = { path = "../wasmtime", version = "0.40.0", default-features = false, features = ['cranelift'] }
wast = "42.0.0"
wast = "43.0.0"
[badges]
maintenance = { status = "actively-developed" }