New toolchain list
format in 1.28.0 breaks Corrosion toolchain detection
#4127
Labels
toolchain list
format in 1.28.0 breaks Corrosion toolchain detection
#4127
Verification
Problem
While testing the 1.28.0 beta I found my project with Corrosion reported error when invoking rustup
Steps
cmake --build
Possible Solution(s)
Corrosion matches against the output of
rustup toolchain list --verbose
to find the toolchain pathhttps://github.com/corrosion-rs/corrosion/blob/master/cmake/FindRust.cmake#L337-L350
Either revert the rustup change, or Corrosion needs to detect the new output format. Though this will leave old projects broken.
Perhaps the new format can be
(default) (active)
instead of(active, default)
to be more backwards compatible.Notes
No response
Rustup version
Installed toolchains
OS version
Fedora 41
The text was updated successfully, but these errors were encountered: