This commit updates the wasm-tools family of crates, notably pulling in the refactorings and updates from bytecodealliance/wasm-tools#621 for the latest iteration of the component model. This commit additionally updates all support for the component model for these changes, notably: * Many bits and pieces of type information was refactored. Many `FooTypeIndex` namings are now `TypeFooIndex`. Additionally there is now `TypeIndex` as well as `ComponentTypeIndex` for the two type index spaces in a component. * A number of new sections are now processed to handle the core and component variants. * Internal maps were split such as the `funcs` map into `component_funcs` and `funcs` (same for `instances`). * Canonical options are now processed individually instead of one bulk `into` definition. Overall this was not a major update to the internals of handling the component model in Wasmtime. Instead this was mostly a surface-level refactoring to make sure that everything lines up with the new binary format for components. * All text syntax used in tests was updated to the new syntax.
39 lines
1.4 KiB
TOML
39 lines
1.4 KiB
TOML
[package]
|
|
name = "cranelift-wasm"
|
|
version = "0.86.0"
|
|
authors = ["The Cranelift Project Developers"]
|
|
description = "Translator from WebAssembly to Cranelift IR"
|
|
documentation = "https://docs.rs/cranelift-wasm"
|
|
repository = "https://github.com/bytecodealliance/wasmtime"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
categories = ["no-std", "wasm"]
|
|
readme = "README.md"
|
|
keywords = ["webassembly", "wasm"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
wasmparser = { version = "0.86.0", default-features = false }
|
|
cranelift-codegen = { path = "../codegen", version = "0.86.0", default-features = false }
|
|
cranelift-entity = { path = "../entity", version = "0.86.0" }
|
|
cranelift-frontend = { path = "../frontend", version = "0.86.0", default-features = false }
|
|
wasmtime-types = { path = "../../crates/types", version = "0.39.0" }
|
|
hashbrown = { version = "0.11", optional = true }
|
|
itertools = "0.10.0"
|
|
log = { version = "0.4.6", default-features = false }
|
|
serde = { version = "1.0.94", features = ["derive"], optional = true }
|
|
smallvec = "1.6.1"
|
|
|
|
[dev-dependencies]
|
|
wat = "1.0.37"
|
|
target-lexicon = "0.12"
|
|
cranelift-codegen = { path = "../codegen", version = "0.86.0", default-features = false }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = ["cranelift-codegen/std", "cranelift-frontend/std"]
|
|
core = ["hashbrown", "cranelift-codegen/core", "cranelift-frontend/core"]
|
|
enable-serde = ["serde"]
|
|
|
|
[badges]
|
|
maintenance = { status = "experimental" }
|