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
I think this is more of a rust issue rather than cfg-if issue so just reporting it here. I was building cfg-if using stable compiler, I might have built it with nightly compiler in the past. Feel free to close this (since I don't think it is actionable), I did send this to rust rust-lang/rust#86551. Note that cargo b works but only cargo c does not work.
> cargo c
error[E0514]: found crate `cfg_if` compiled by an incompatible version of rustc
--> /home/ivan/.cargo/registry/src/github.com-1ecc6299db9ec823/instant-0.1.10/src/lib.rs:1:1
|
1 | cfg_if::cfg_if! {
| ^^^^^^
|
= help: please recompile that crate using this compiler (rustc 1.55.0-nightly (32c9b7b09 2021-07-21))
= note: the following crate versions were found:
crate `cfg_if` compiled by rustc 1.55.0-nightly (6d820866a 2021-06-29): /home/ivan/src/pickfire/rs/helix/target/debug/deps/libcfg_if-a9897b30e482daf2.rmeta
error: could not compile `which` due to previous error
warning: build failed, waiting for other jobs to finish...
error[E0514]: found crate `cfg_if` compiled by an incompatible version of rustc
--> /home/ivan/.cargo/registry/src/github.com-1ecc6299db9ec823/log-0.4.14/src/lib.rs:283:1
|
283 | extern crate cfg_if;
| ^^^^^^^^^^^^^^^^^^^^
|
= help: please recompile that crate using this compiler (rustc 1.55.0-nightly (32c9b7b09 2021-07-21))
= note: the following crate versions were found:
crate `cfg_if` compiled by rustc 1.55.0-nightly (6d820866a 2021-06-29): /home/ivan/src/pickfire/rs/helix/target/debug/deps/libcfg_if-a9897b30e482daf2.rmeta
error[E0514]: found crate `cfg_if` compiled by an incompatible version of rustc
--> /home/ivan/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-utils-0.8.5/src/lib.rs:95:5
|
95 | use cfg_if::cfg_if;
| ^^^^^^
|
= help: please recompile that crate using this compiler (rustc 1.55.0-nightly (32c9b7b09 2021-07-21))
= note: the following crate versions were found:
crate `cfg_if` compiled by rustc 1.55.0-nightly (6d820866a 2021-06-29): /home/ivan/src/pickfire/rs/helix/target/debug/deps/libcfg_if-a9897b30e482daf2.rmeta
error[E0514]: found crate `tinyvec_macros` compiled by an incompatible version of rustc
--> /home/ivan/.cargo/registry/src/github.com-1ecc6299db9ec823/tinyvec-1.3.0/src/tinyvec.rs:7:5
|
7 | use tinyvec_macros::impl_mirrored;
| ^^^^^^^^^^^^^^
|
= help: please recompile that crate using this compiler (rustc 1.55.0-nightly (32c9b7b09 2021-07-21))
= note: the following crate versions were found:
crate `tinyvec_macros` compiled by rustc 1.55.0-nightly (6d820866a 2021-06-29): /home/ivan/src/pickfire/rs/helix/target/debug/deps/libtinyvec_macros-177747a26e6502c4.rmeta
error[E0514]: found crate `cfg_if` compiled by an incompatible version of rustc
--> /home/ivan/.cargo/registry/src/github.com-1ecc6299db9ec823/encoding_rs-0.8.28/src/lib.rs:689:1
|
689 | extern crate cfg_if;
| ^^^^^^^^^^^^^^^^^^^^
|
= help: please recompile that crate using this compiler (rustc 1.55.0-nightly (32c9b7b09 2021-07-21))
= note: the following crate versions were found:
crate `cfg_if` compiled by rustc 1.55.0-nightly (6d820866a 2021-06-29): /home/ivan/src/pickfire/rs/helix/target/debug/deps/libcfg_if-a9897b30e482daf2.rmeta
error: build failed
The text was updated successfully, but these errors were encountered:
I think this is more of a rust issue rather than cfg-if issue so just reporting it here. I was building
cfg-if
using stable compiler, I might have built it with nightly compiler in the past. Feel free to close this (since I don't think it is actionable), I did send this to rust rust-lang/rust#86551. Note thatcargo b
works but onlycargo c
does not work.The text was updated successfully, but these errors were encountered: