Update to cap-std 0.26. (#4940)

* Update to cap-std 0.26.

This is primarily to pull in bytecodealliance/cap-std#271, the fix for #4936,
compilation on Rust nightly on Windows.

It also updates to rustix 0.35.10, to pull in bytecodealliance/rustix#403,
the fix for bytecodealliance/rustix#402, compilation on newer versions of
the libc crate, which changed a public function from `unsafe` to safe.

Fixes #4936.

* Update the system-interface audit for 0.23.

* Update the libc supply-chain config version.
This commit is contained in:
Dan Gohman
2022-09-21 12:56:38 -07:00
committed by GitHub
parent b2d13ebd46
commit 6f50ddaaf2
15 changed files with 49 additions and 49 deletions

View File

@@ -22,12 +22,12 @@ anyhow = "1.0"
thiserror = "1.0"
wiggle = { path = "../wiggle", default-features = false, version = "=2.0.0" }
tracing = "0.1.19"
cap-std = "0.25.3"
cap-rand = "0.25.3"
cap-std = "0.26.0"
cap-rand = "0.26.0"
bitflags = "1.2"
[target.'cfg(unix)'.dependencies]
rustix = { version = "0.35.6", features = ["fs"] }
rustix = { version = "0.35.10", features = ["fs"] }
[target.'cfg(windows)'.dependencies]
io-extras = "0.15.0"

View File

@@ -15,23 +15,23 @@ include = ["src/**/*", "README.md", "LICENSE" ]
wasi-common = { path = "../", version = "=2.0.0" }
async-trait = "0.1"
anyhow = "1.0"
cap-std = "0.25.3"
cap-fs-ext = "0.25.3"
cap-time-ext = "0.25.3"
cap-rand = "0.25.3"
cap-std = "0.26.0"
cap-fs-ext = "0.26.0"
cap-time-ext = "0.26.0"
cap-rand = "0.26.0"
fs-set-times = "0.17.0"
system-interface = { version = "0.22.0", features = ["cap_std_impls"] }
system-interface = { version = "0.23.0", features = ["cap_std_impls"] }
tracing = "0.1.19"
io-lifetimes = { version = "0.7.0", default-features = false }
is-terminal = "0.3.0"
[target.'cfg(unix)'.dependencies]
rustix = { version = "0.35.6", features = ["fs"] }
rustix = { version = "0.35.10", features = ["fs"] }
[target.'cfg(windows)'.dependencies]
once_cell = "1.12.0"
io-extras = "0.15.0"
rustix = { version = "0.35.6", features = ["net"] }
rustix = { version = "0.35.10", features = ["net"] }
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.36.0"

View File

@@ -15,12 +15,12 @@ wasi-common = { path = "../", version = "=2.0.0" }
wasi-cap-std-sync = { path = "../cap-std-sync", version = "=2.0.0" }
wiggle = { path = "../../wiggle", version = "=2.0.0" }
tokio = { version = "1.8.0", features = [ "rt", "fs", "time", "io-util", "net", "io-std", "rt-multi-thread"] }
cap-std = "0.25.3"
cap-std = "0.26.0"
anyhow = "1"
io-lifetimes = { version = "0.7.0", default-features = false }
[target.'cfg(unix)'.dependencies]
rustix = { version = "0.35.6", features = ["fs"] }
rustix = { version = "0.35.10", features = ["fs"] }
[target.'cfg(windows)'.dependencies]
io-extras = "0.15.0"
@@ -29,4 +29,4 @@ io-extras = "0.15.0"
tempfile = "3.1.0"
tokio = { version = "1.8.0", features = [ "macros" ] }
anyhow = "1"
cap-tempfile = "0.25.3"
cap-tempfile = "0.26.0"