Currently, we do not pin the Rust toolchain to a specific version when building and deploying the analyzer. This is not ideal since we'd like our builds to be reproducible across different machines that might have different default toolchain versions set.
What is your solution?
Adding a rust-toolchain.toml file will allow us to pin the version used to build the analyzer, meaning that no matter what machine or OS version we build it on, it will always use this version.
What problem are you trying to solve?
Currently, we do not pin the Rust toolchain to a specific version when building and deploying the analyzer. This is not ideal since we'd like our builds to be reproducible across different machines that might have different default toolchain versions set.
What is your solution?
Adding a
rust-toolchain.toml
file will allow us to pin the version used to build the analyzer, meaning that no matter what machine or OS version we build it on, it will always use this version.Alternatives considered
What the reviewer should know