Update WASI to cap-std 0.25 and windows-sys. (#4302)
This updates to rustix 0.35.6, and updates wasi-common to use cap-std 0.25 and windows-sys (instead of winapi). Changes include: - Better error code mappings on Windows. - Fixes undefined references to `utimensat` on Darwin. - Fixes undefined references to `preadv64` and `pwritev64` on Android. - Updates to io-lifetimes 0.7, which matches the io_safety API in Rust. - y2038 bug fixes for 32-bit platforms
This commit is contained in:
@@ -15,20 +15,19 @@ wasi-common = { path = "../", version = "=0.39.0" }
|
||||
wasi-cap-std-sync = { path = "../cap-std-sync", version = "=0.39.0" }
|
||||
wiggle = { path = "../../wiggle", version = "=0.39.0" }
|
||||
tokio = { version = "1.8.0", features = [ "rt", "fs", "time", "io-util", "net", "io-std", "rt-multi-thread"] }
|
||||
cap-std = "0.24.1"
|
||||
cap-std = "0.25.0"
|
||||
anyhow = "1"
|
||||
io-lifetimes = { version = "0.5.0", default-features = false }
|
||||
io-lifetimes = { version = "0.7.0", default-features = false }
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
rustix = "0.33.7"
|
||||
rustix = { version = "0.35.6", features = ["fs"] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
winapi = "0.3"
|
||||
lazy_static = "1.4"
|
||||
io-extras = "0.13.0"
|
||||
io-extras = "0.15.0"
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3.1.0"
|
||||
tokio = { version = "1.8.0", features = [ "macros" ] }
|
||||
anyhow = "1"
|
||||
cap-tempfile = "0.24.1"
|
||||
cap-tempfile = "0.25.0"
|
||||
|
||||
Reference in New Issue
Block a user