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
The Minimum Supported Rust Version (MSRV) in Cargo.toml no longer appears to be accurate. This seems to be due to the use of BuildHasherDefault::new()here which was only introduced in Rust 1.85. Other issues may be present though.
Output of cargo-msrv:
[Meta] cargo-msrv 0.18.4
Compatibility Check #1: Rust 1.75.0
[FAIL] Is incompatible
Checking cosmic-text v0.14.1
error[E0599]: no function or associated item named `new` found for struct `BuildHasherDefault` in the current scope
--> src/font/fallback/mod.rs:112:75
|
112 | HashMap::with_capacity_and_hasher(scripts.len(), BuildHasher::new());
| ^^^ function or associated item not found in `BuildHasherDefault<FxHasher>`
For more information about this error, try `rustc --explain E0599`.
error: could not compile `cosmic-text` (lib) due to previous error
Crate source was found to be incompatible with Rust version '1.75.0' specified as MSRV in the Cargo manifest located at './Cargo.toml'
Possible solutions:
Remove code that relies on a more recent version of Rust
Upgrade the MSRV to 1.85 (Not my preferred option: I am required to use an older version of Rust for one of my projects, which is how I discovered this issue)
It may also be useful in the future to include a CI build on the MSRV to ensure there aren't any regressions (from what I can tell the CI jobs currently just run on the most recent version of Rust?).
Thanks everyone involved in this great project!
The text was updated successfully, but these errors were encountered:
Hi all,
The Minimum Supported Rust Version (MSRV) in
Cargo.toml
no longer appears to be accurate. This seems to be due to the use ofBuildHasherDefault::new()
here which was only introduced in Rust 1.85. Other issues may be present though.Output of
cargo-msrv
:Possible solutions:
It may also be useful in the future to include a CI build on the MSRV to ensure there aren't any regressions (from what I can tell the CI jobs currently just run on the most recent version of Rust?).
Thanks everyone involved in this great project!
The text was updated successfully, but these errors were encountered: