Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit f049bef

Browse files
committed
switch back to upstream wit-bindgen
Signed-off-by: Joel Dice <joel.dice@fermyon.com>
1 parent 89e49e1 commit f049bef

4 files changed

Lines changed: 11 additions & 15 deletions

File tree

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -632,12 +632,9 @@ lto = true
632632
# wasm-wave = { git = "https://github.com/bytecodealliance/wasm-tools" }
633633
# wasm-compose = { git = "https://github.com/bytecodealliance/wasm-tools" }
634634
# wasm-metadata = { git = "https://github.com/bytecodealliance/wasm-tools" }
635-
# wit-bindgen = { git = "https://github.com/bytecodealliance/wit-bindgen" }
636-
# wit-bindgen-rt = { git = "https://github.com/bytecodealliance/wit-bindgen" }
637-
# wit-bindgen-rust-macro = { git = "https://github.com/bytecodealliance/wit-bindgen" }
638-
wit-bindgen = { git = "https://github.com/dicej/wit-bindgen", branch = "no-reads-writes-after-dropped" }
639-
wit-bindgen-rt = { git = "https://github.com/dicej/wit-bindgen", branch = "no-reads-writes-after-dropped" }
640-
wit-bindgen-rust-macro = { git = "https://github.com/dicej/wit-bindgen", branch = "no-reads-writes-after-dropped" }
635+
wit-bindgen = { git = "https://github.com/bytecodealliance/wit-bindgen" }
636+
wit-bindgen-rt = { git = "https://github.com/bytecodealliance/wit-bindgen" }
637+
wit-bindgen-rust-macro = { git = "https://github.com/bytecodealliance/wit-bindgen" }
641638

642639
# wasmparser = { path = '../wasm-tools/crates/wasmparser' }
643640
# wat = { path = '../wasm-tools/crates/wat' }

crates/wasmtime/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ semver = { workspace = true, optional = true }
6161
smallvec = { workspace = true, optional = true }
6262
hashbrown = { workspace = true, features = ["default-hasher"] }
6363
bitflags = { workspace = true }
64-
futures = { workspace = true, features = ["alloc"], optional = true }
64+
futures = { workspace = true, default_features = false, features = ["alloc"], optional = true }
6565
bytes = { workspace = true, optional = true }
6666

6767
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
@@ -198,7 +198,6 @@ async = [
198198
"dep:futures",
199199
"wasmtime-component-macro?/async",
200200
"runtime",
201-
"futures/std",
202201
]
203202

204203
# Enables support for the pooling instance allocation strategy

crates/wasmtime/src/runtime/fiber.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ use {
1010
},
1111
},
1212
anyhow::{Result, anyhow},
13-
futures::channel::oneshot,
14-
std::{
13+
core::{
1514
future, mem,
1615
ops::Range,
1716
pin::Pin,
1817
ptr::{self, NonNull},
1918
task::{Context, Poll},
2019
},
20+
futures::channel::oneshot,
2121
wasmtime_environ::TripleExt,
2222
wasmtime_fiber::{Fiber, Suspend},
2323
};

0 commit comments

Comments
 (0)