This commit introduces the `winch-environ` crate. This crate's responsibility is to provide a shared implementatation of the `winch_codegen::FuncEnv` trait, which is Winch's function compilation environment, used to resolve module and runtime specific information needed by the code generation, such as resolving all the details about a callee in a WebAssembly module, or resolving specific information from the `VMContext`. As of this change, the implementation only includes the necessary pieces to resolve a function callee in a WebAssembly module. The idea is to evolve the `winch_codegen::FuncEnv` trait as we evolve Winch's code generation.
35 lines
916 B
TOML
35 lines
916 B
TOML
[package]
|
|
name = "winch-tools"
|
|
version = "0.0.0"
|
|
description = "Binaries for testing Winch"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
repository = "https://github.com/bytecodealliance/wasmtime"
|
|
publish = false
|
|
edition.workspace = true
|
|
|
|
[[bin]]
|
|
name = "winch-tools"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
winch-codegen = { workspace = true }
|
|
winch-environ = { workspace = true }
|
|
winch-filetests = { workspace = true }
|
|
winch-test-macros = { workspace = true }
|
|
wasmtime-environ = { workspace = true }
|
|
target-lexicon = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
wasmparser = { workspace = true }
|
|
clap = { workspace = true }
|
|
wat = { workspace = true }
|
|
cranelift-codegen = { workspace = true }
|
|
capstone = { workspace = true }
|
|
similar = { workspace = true }
|
|
toml = { workspace = true }
|
|
serde = { workspace = true }
|
|
glob = { workspace = true }
|
|
|
|
[features]
|
|
default = ["all-arch"]
|
|
all-arch = ["winch-codegen/all-arch"]
|