TheBevyFlock / bevy_cli

A Bevy CLI tool and linter.
https://thebevyflock.github.io/bevy_cli/
Apache License 2.0
52 stars 7 forks source link

`bevy_lint` should specify toolchain version #118

Closed BD103 closed 2 months ago

BD103 commented 2 months ago

bevy_lint requires the nightly toolchain in order to run, but it does not specify this to 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.