Update to cap-std 0.22.0. (#3611)
* Update to cap-std 0.22.0. The main change relevant to Wasmtime here is that this includes the rustix fix for compilation errors on Rust nightly with the `asm!` macro. * Add itoa to deny.toml. * Update the doc and fuzz builds to the latest Rust nightly. * Update to libc 0.2.112 to pick up the `POLLRDHUP` fix. * Update to cargo-fuzz 0.11, for compatibility with Rust nightly. This appears to be the fix for rust-fuzz/cargo-fuzz#277.
This commit is contained in:
@@ -22,12 +22,12 @@ anyhow = "1.0"
|
||||
thiserror = "1.0"
|
||||
wiggle = { path = "../wiggle", default-features = false, version = "=0.32.0" }
|
||||
tracing = "0.1.19"
|
||||
cap-std = "0.21.1"
|
||||
cap-rand = "0.21.1"
|
||||
cap-std = "0.22.0"
|
||||
cap-rand = "0.22.0"
|
||||
bitflags = "1.2"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
rustix = "0.26.2"
|
||||
rustix = "0.31.0"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
winapi = "0.3"
|
||||
|
||||
@@ -15,17 +15,17 @@ include = ["src/**/*", "README.md", "LICENSE" ]
|
||||
wasi-common = { path = "../", version = "=0.32.0" }
|
||||
async-trait = "0.1"
|
||||
anyhow = "1.0"
|
||||
cap-std = "0.21.1"
|
||||
cap-fs-ext = "0.21.1"
|
||||
cap-time-ext = "0.21.1"
|
||||
cap-rand = "0.21.1"
|
||||
fs-set-times = "0.13.1"
|
||||
system-interface = { version = "0.16.0", features = ["cap_std_impls"] }
|
||||
cap-std = "0.22.0"
|
||||
cap-fs-ext = "0.22.0"
|
||||
cap-time-ext = "0.22.0"
|
||||
cap-rand = "0.22.0"
|
||||
fs-set-times = "0.14.1"
|
||||
system-interface = { version = "0.17.0", features = ["cap_std_impls"] }
|
||||
tracing = "0.1.19"
|
||||
io-lifetimes = { version = "0.3.3", default-features = false }
|
||||
io-lifetimes = { version = "0.4.4", default-features = false }
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
rustix = "0.26.2"
|
||||
rustix = "0.31.0"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
winapi = "0.3"
|
||||
|
||||
@@ -122,7 +122,7 @@ impl TryFrom<std::io::Error> for types::Errno {
|
||||
Some(Error::IO) => Some(types::Errno::Io),
|
||||
Some(Error::BADF) => Some(types::Errno::Badf),
|
||||
Some(Error::BUSY) => Some(types::Errno::Busy),
|
||||
Some(Error::ACCES) => Some(types::Errno::Acces),
|
||||
Some(Error::ACCESS) => Some(types::Errno::Acces),
|
||||
Some(Error::FAULT) => Some(types::Errno::Fault),
|
||||
Some(Error::NOTDIR) => Some(types::Errno::Notdir),
|
||||
Some(Error::ISDIR) => Some(types::Errno::Isdir),
|
||||
|
||||
@@ -15,12 +15,12 @@ wasi-common = { path = "../", version = "=0.32.0" }
|
||||
wasi-cap-std-sync = { path = "../cap-std-sync", version = "=0.32.0" }
|
||||
wiggle = { path = "../../wiggle", version = "=0.32.0" }
|
||||
tokio = { version = "1.8.0", features = [ "rt", "fs", "time", "io-util", "net", "io-std", "rt-multi-thread"] }
|
||||
cap-std = "0.21.1"
|
||||
cap-std = "0.22.0"
|
||||
anyhow = "1"
|
||||
io-lifetimes = { version = "0.3.0", default-features = false }
|
||||
io-lifetimes = { version = "0.4.4", default-features = false }
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
rustix = "0.26.2"
|
||||
rustix = "0.31.0"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
winapi = "0.3"
|
||||
@@ -30,4 +30,4 @@ lazy_static = "1.4"
|
||||
tempfile = "3.1.0"
|
||||
tokio = { version = "1.8.0", features = [ "macros" ] }
|
||||
anyhow = "1"
|
||||
cap-tempfile = "0.21.1"
|
||||
cap-tempfile = "0.22.0"
|
||||
|
||||
Reference in New Issue
Block a user