Closed BD103 closed 2 months ago
bevy_lint requires the nightly toolchain in order to run, but it does not specify this to rustup:
bevy_lint
rustup
https://github.com/TheBevyFlock/bevy_cli/blob/12afdf9d4ddad8e9838a881ce4527b1d14e700f1/bevy_lint/src/bin/main.rs#L30-L39
This means that bevy_lint will, by default, use whatever toolchain is currently active. This is bad because it could cause the the linter to either crash or link to a mismatched librustc_driver.so and experience UB.
librustc_driver.so
bevy_lint
requires the nightly toolchain in order to run, but it does not specify this torustup
:https://github.com/TheBevyFlock/bevy_cli/blob/12afdf9d4ddad8e9838a881ce4527b1d14e700f1/bevy_lint/src/bin/main.rs#L30-L39
This means that
bevy_lint
will, by default, use whatever toolchain is currently active. This is bad because it could cause the the linter to either crash or link to a mismatchedlibrustc_driver.so
and experience UB.