Use is-terminal instead of atty.
Following up on #3696, use the new is-terminal crate to test for a tty rather than having platform-specific logic in Wasmtime. The is-terminal crate has a platform-independent API which takes a handle. This also updates the tree to cap-std 0.24 etc., to avoid depending on multiple versions of io-lifetimes at once, as enforced by the cargo deny check.
This commit is contained in:
@@ -22,12 +22,12 @@ anyhow = "1.0"
|
||||
thiserror = "1.0"
|
||||
wiggle = { path = "../wiggle", default-features = false, version = "=0.33.0" }
|
||||
tracing = "0.1.19"
|
||||
cap-std = "0.22.0"
|
||||
cap-rand = "0.22.0"
|
||||
cap-std = "0.24.0"
|
||||
cap-rand = "0.24.0"
|
||||
bitflags = "1.2"
|
||||
|
||||
[target.'cfg(unix)'.dependencies]
|
||||
rustix = "0.31.0"
|
||||
rustix = "0.33.0"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
winapi = "0.3"
|
||||
|
||||
Reference in New Issue
Block a user