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 use cargo-pgo on a project upgraded to the 2024 edition of Rust fails: Cannot get cargo metadata: Json(Error("unknown variant 2024, expected one of 2015, 2018, 2021", line: 1, column: 378321))
This is due to version 0.15 of cargo_metadata not allowing 2024 as a valid version. This has been changed in newer versions however, so it might just be a matter of upgrading the dependency (to minimum 0.17.0).
The text was updated successfully, but these errors were encountered:
Trying to use cargo-pgo on a project upgraded to the 2024 edition of Rust fails:
Cannot get cargo metadata: Json(Error("unknown variant
2024, expected one of
2015,
2018,
2021", line: 1, column: 378321))
This is due to version 0.15 of
cargo_metadata
not allowing 2024 as a valid version. This has been changed in newer versions however, so it might just be a matter of upgrading the dependency (to minimum 0.17.0).The text was updated successfully, but these errors were encountered: