fix(rust): remove rls and rust-analysis for Rust 1.87+ compatibility#1362
fix(rust): remove rls and rust-analysis for Rust 1.87+ compatibility#1362eljog merged 6 commits intodevcontainers:mainfrom liskin:fix-rust-1-87
Conversation
Rust 1.87.0 and later have removed the long-deprecated RLS and rust-analysis components. This change updates the install script to only add rust-src, rustfmt, and clippy, preventing build errors during feature installation. See: rust-lang/rust#126856 https://blog.rust-lang.org/2022/07/01/RLS-deprecation/ https://github.com/rust-lang/rustup/blob/a92432fc8b6d5d4e56ebd08ca1c45b7b1294c1bd/doc/user-guide/src/concepts/components.md#previous-components Fixes: #1361
|
Hey! I just added a couple more changes: https://github.com/liskin/features/pull/1 Not 100% familiar with fork etiquette so I kinda just added it on to your fork. Thanks! |
|
Also, as a quick workaround for anyone facing a similar problem. Just pin rust to Tip Read more about rustup profiles here |
|
Thank you @liskin and @NeoScript for your contributions. |
|
@microsoft-github-policy-service agree (although I wonder if it's really me who needs to agree, as this CLA nonsense started only after I've pulled @NeoScript's commits into my branch…) |
|
@microsoft-github-policy-service agree Hello! Sorry I've not seen any notifications around the service agree but just in case. |
|
Approving workflow run |
Rust 1.87.0 and later have removed the long-deprecated RLS and rust-analysis components. This change updates the install script to only add rust-src, rustfmt, and clippy, preventing build errors during feature installation. See: rust-lang/rust#126856 https://blog.rust-lang.org/2022/07/01/RLS-deprecation/ https://github.com/rust-lang/rustup/blob/a92432fc8b6d5d4e56ebd08ca1c45b7b1294c1bd/doc/user-guide/src/concepts/components.md#previous-components
Fixes: #1361