Use rustc's way to get the system root #48
Labels
C-enhancement
Category: New feature or request
D-rustc-driver
Driver: Rustc Driver
E-good-first-issue
Participation: Good for newcomers
The driver like Clippy used to have a complicated way to find the system root for the compiler files. rust-lang/rust#103660 added a new uniform way that should also be used by this rustc driver.
See: https://github.com/rust-linting/rust-linting/blob/ce1eb57dbdcf72f1b7ec820725ccf64bc2d90336/linter_driver_rustc/src/main.rs#L203
The text was updated successfully, but these errors were encountered: