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
Trying to build sysinfo 0.20.5 with stable Rust (currently the 2018 edition) results in the following compiler error, probably introduced by commit 0fdeb16:
error[E0658]: arbitrary expressions in key-value attributes are unstable
--> /Users/user/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/sysinfo-0.20.5/src/lib.rs:10:10
|
10 | #![doc = include_str!("../README.md")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #78835 <https://github.com/rust-lang/rust/issues/78835> for more information
The text was updated successfully, but these errors were encountered:
My mistake, still had 1.53 installed. Thanks for pointing that out.
I'd suggest adding rust-version = "1.54"12 to Cargo.toml to enforce this requirement, but as of today, it's only supported by nightly Cargo behind the rust-version3 feature, and generates a warning on stable Cargo.
Trying to build
sysinfo
0.20.5 with stable Rust (currently the 2018 edition) results in the following compiler error, probably introduced by commit 0fdeb16:The text was updated successfully, but these errors were encountered: