chore: replace atty with is-terminal#628
Conversation
|
@jcgruenhage The |
|
No clue, sorry. What's the error message you're getting? As far as I can tell, |
It might use |
1. Locks the list of allowed licenses to the current set of dependency licenses 2. Surfaces two advisories as warnings (comments added to `deny.yml` for both) 3. Surfaces duplicate versions of the same dependency as warnings (comments added to `deny.yml` for both) One of the advisories is for `atty` a dependency of `criterion` and tracked in an [issue in the criterion repo](bheisler/criterion.rs#628).
Did some digging on the wasi32 compilation error:
To summarize what this PR needs:
|
Looks like |
|
A new version has just been released. |
86e27bd to
f240862
Compare
|
@nickelc thanks for the notification, I've pulled in that release and rebased on latest master. Hopefully that should be merge-able now? |
|
Looks like the |
Bumping the MSRV would be the easiest solution. Anyone up for that task? |
|
PR made to bump the MSRV: #665 |
|
Hmm, it appears that |
|
Ah, that's a bug in rustix. I've submitted bytecodealliance/rustix#589 to fix it. |
|
The wasm32-wasi build on stable Rust is now fixed in rustix 0.37.7 and 0.36.12. |
Nice! |
|
Perhaps a small commit for the CI to rerun is unpinning the |
b7ce009 to
4f00f0b
Compare
|
I just re-run the CI by rebasing and force-pushing instead. CI seems happy now! |
|
It s great to see this merged! Is it possible to also create an official tag for the change? (I expect 0.4.1)? |
|
New releases can only be made by @bheisler. |
|
@bheisler can you please release a new version that includes this fix? Thanks! |
attyis unmaintained and has a potential unaligned read. See https://github.com/rustsec/advisory-db/blob/main/crates/atty/RUSTSEC-2021-0145.md.is-terminalis a replacement based onatty, with the soundness issue fixed and an (IMO) nicer to use API, mirroring what's available in the std lib on nightly withstd::io::IsTerminal.