| 1 |
Description: avoid crate wasmtime to not create circular dependency |
| 2 |
Author: Jonas Smedegaard <[email protected]> |
| 3 |
Forwarded: not-needed |
| 4 |
Last-Update: 2026-04-04 |
| 5 |
--- |
| 6 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 7 |
--- a/Cargo.toml |
| 8 |
+++ b/Cargo.toml |
| 9 |
@@ -135,7 +135,6 @@ |
| 10 |
spdx = ">= 0.10.1, <= 0.13" |
| 11 |
termcolor = "1.2.0" |
| 12 |
url = "2.0.0" |
| 13 |
-wasmtime = { version = "34.0.1", default-features = false, features = ['cranelift', 'component-model', 'runtime', 'gc-drc'] } |
| 14 |
thiserror = "2.0.12" |
| 15 |
|
| 16 |
wasm-compose = { version = "0.239.0", path = "crates/wasm-compose" } |
| 17 |
--- a/crates/fuzz-stats/Cargo.toml |
| 18 |
+++ b/crates/fuzz-stats/Cargo.toml |
| 19 |
@@ -10,7 +10,6 @@ |
| 20 |
num_cpus = { workspace = true } |
| 21 |
rand = { workspace = true } |
| 22 |
wasm-smith = { workspace = true } |
| 23 |
-wasmtime = { workspace = true } |
| 24 |
|
| 25 |
[lints] |
| 26 |
workspace = true |
| 27 |
--- a/crates/wasm-mutate-stats/Cargo.toml |
| 28 |
+++ b/crates/wasm-mutate-stats/Cargo.toml |
| 29 |
@@ -19,7 +19,6 @@ |
| 30 |
wasm-mutate = { workspace = true } |
| 31 |
wasmparser = { workspace = true, features = ['std', 'validate'] } |
| 32 |
wasmprinter = { workspace = true } |
| 33 |
-wasmtime = { workspace = true } |
| 34 |
|
| 35 |
[lib] |
| 36 |
doctest = false |
| 37 |
--- a/crates/wit-component/Cargo.toml |
| 38 |
+++ b/crates/wit-component/Cargo.toml |
| 39 |
@@ -44,9 +44,6 @@ |
| 40 |
wat = { workspace = true, features = ['component-model'] } |
| 41 |
wasm-metadata = { workspace = true, features = ['oci'] } |
| 42 |
|
| 43 |
-[target.'cfg(not(target_family = "wasm"))'.dev-dependencies] |
| 44 |
-wasmtime = { workspace = true } |
| 45 |
- |
| 46 |
[features] |
| 47 |
dummy-module = ['dep:wat'] |
| 48 |
wat = ['dep:wast', 'dep:wat'] |
| 49 |
--- a/crates/wit-component/tests/linking.rs |
| 50 |
+++ b/crates/wit-component/tests/linking.rs |
| 51 |
@@ -181,7 +181,7 @@ |
| 52 |
_ = component; |
| 53 |
} |
| 54 |
|
| 55 |
- #[cfg(not(target_family = "wasm"))] |
| 56 |
+ #[cfg(feature = "wasmtime")] |
| 57 |
{ |
| 58 |
use { |
| 59 |
anyhow::anyhow, |
| 60 |
--- a/fuzz/Cargo.toml |
| 61 |
+++ b/fuzz/Cargo.toml |
| 62 |
@@ -21,7 +21,6 @@ |
| 63 |
wasm-smith = { workspace = true, features = ['component-model', 'wasmparser'] } |
| 64 |
wasmparser = { workspace = true, features = ['std', 'features'] } |
| 65 |
wasmprinter = { workspace = true, features = ['component-model'] } |
| 66 |
-wasmtime = { workspace = true, optional = true } |
| 67 |
wast = { workspace = true } |
| 68 |
wat = { workspace = true } |
| 69 |
wit-component = { workspace = true, features = ['dummy-module'] } |