* wiggle: no longer need to guard wasmtime integration behind a feature this existed so we could use wiggle in lucet, but lucet is long EOL * replace wiggle::Trap with wiggle::wasmtime_crate::Trap * wiggle tests: unwrap traps because we cant assert_eq on them * wasi-common: emit a wasmtime::Trap instead of a wiggle::Trap formally add a dependency on wasmtime here to make it obvious, though we do now have a transitive one via wiggle no matter what (and therefore can get rid of the default-features=false on the wiggle dep) * wasi-nn: use wasmtime::Trap instead of wiggle::Trap there's no way the implementation of this func is actually a good idea, it will panic the host process on any error, but I'll ask @mtr to fix that * wiggle test-helpers examples: fixes * wasi-common cant cross compile to wasm32-unknown-emscripten anymore this was originally for the WASI polyfill for web targets. Those days are way behind us now. * wasmtime wont compile for armv7-unknown-linux-gnueabihf either
34 lines
931 B
TOML
34 lines
931 B
TOML
[package]
|
|
name = "wiggle-macro"
|
|
version.workspace = true
|
|
authors = ["Pat Hickey <phickey@fastly.com>", "Jakub Konka <kubkon@jakubkonka.com>", "Alex Crichton <alex@alexcrichton.com>"]
|
|
edition.workspace = true
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
description = "Wiggle code generator"
|
|
categories = ["wasm"]
|
|
keywords = ["webassembly", "wasm"]
|
|
repository = "https://github.com/bytecodealliance/wasmtime"
|
|
include = ["src/**/*", "LICENSE"]
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
test = false
|
|
|
|
# This has been added to make testing of the experimental_x64 feature possible,
|
|
# working around a Cargo nightly bug: once
|
|
# https://github.com/rust-lang/cargo/issues/8563 has been fixed, we should be
|
|
# able to revert it.
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
wiggle-generate = { workspace = true }
|
|
quote = "1.0"
|
|
syn = { version = "1.0", features = ["full"] }
|
|
proc-macro2 = "1.0"
|
|
|
|
[dev-dependencies]
|
|
wiggle = { path = ".." }
|
|
|
|
[features]
|
|
wiggle_metadata = []
|