You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Mac OS, using the latest Rust nightly version, cloning and building this crate fails:
$ cargo run --example atty
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling libc v0.2.40
Compiling atty v0.2.9 (file:///Users/stephen/drive/hexops/hexi/display/tmp/atty)
error[E0428]: the name `is` is defined multiple times
--> src/lib.rs:164:1
|
40 | pub fn is(stream: Stream) -> bool {
| --------------------------------- previous definition of the value `is` here
...
164 | pub fn is(_stream: Stream) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `is` redefined here
|
= note: `is` must be defined only once in the value namespace of this module
error: aborting due to previous error
For more information about this error, try `rustc --explain E0428`.
error: Could not compile `atty`.
To learn more, run the command again with --verbose.
@BurntSushi No, I am trying to build for x86_64-apple-darwin.
I see now (right before you posted your message) that something is actually wrong with my Rust installation somehow because cargo run --example atty is trying to do a wasm build by default and cargo run --target=x86_64-apple-darwin --example atty works fine.
Apologies for the false issue :/ I'll try to figure out why my Rust installation is like this.
On Mac OS, using the latest Rust nightly version, cloning and building this crate fails:
This may be the same regression as #21
The text was updated successfully, but these errors were encountered: