feat: add a histrical wit-bindgen
This commit is contained in:
34
__wasm/wit-bindgen-sample/wit-bindgen/Cargo.toml
Normal file
34
__wasm/wit-bindgen-sample/wit-bindgen/Cargo.toml
Normal file
@@ -0,0 +1,34 @@
|
||||
[package]
|
||||
name = "wit-bindgen-cli"
|
||||
version = "0.1.0"
|
||||
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[workspace]
|
||||
members = [
|
||||
"crates/test-rust-wasm",
|
||||
"crates/wit-bindgen-demo",
|
||||
"crates/wit-component",
|
||||
]
|
||||
resolver = "2"
|
||||
|
||||
[[bin]]
|
||||
name = "wit-bindgen"
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
structopt = { version = "0.3", default-features = false }
|
||||
wit-bindgen-gen-core = { path = 'crates/gen-core' }
|
||||
wit-bindgen-gen-rust-wasm = { path = 'crates/gen-rust-wasm', features = ['structopt'] }
|
||||
wit-bindgen-gen-wasmtime = { path = 'crates/gen-wasmtime', features = ['structopt'] }
|
||||
wit-bindgen-gen-wasmtime-py = { path = 'crates/gen-wasmtime-py', features = ['structopt'] }
|
||||
wit-bindgen-gen-js = { path = 'crates/gen-js', features = ['structopt'] }
|
||||
wit-bindgen-gen-c = { path = 'crates/gen-c', features = ['structopt'] }
|
||||
wit-bindgen-gen-markdown = { path = 'crates/gen-markdown', features = ['structopt'] }
|
||||
wit-bindgen-gen-spidermonkey = { path = 'crates/gen-spidermonkey', features = ['structopt'] }
|
||||
|
||||
# Compiling `spidermonkey.wasm` takes way too long without this.
|
||||
[profile.dev.package.cranelift-codegen]
|
||||
debug-assertions = false
|
||||
opt-level = 2
|
||||
Reference in New Issue
Block a user