mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Cargo: align rust toolchain version with internal repository
Also: * remove new warnings raised by the rust toolchain * run new formatting and linting * update the rust toolchain used by `cargo` While we keep `bazel` builds using the same toolchain as internally (now a nightly one), I opted for using a stable toolchain for `cargo`. The nightly toolchain is only required internally for build reasons, we should keep not using any unstable rust features in our sources.
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
# This file specifies the Rust version used to develop and test the
|
||||
# extractors written in rust. It is set to the lowest version of Rust
|
||||
# we want to support.
|
||||
# This file specifies the Rust version used to develop the extractors written
|
||||
# in rust. Notice that this is just used by using `cargo`-related tools in a
|
||||
# local dev environment. The actual version used to build the released packs
|
||||
# is specified in `MODULE.bazel` in the internal repository (typically
|
||||
# reflected by `MODULE.bazel` in this repository).
|
||||
|
||||
[toolchain]
|
||||
channel = "1.86"
|
||||
channel = "1.88"
|
||||
profile = "minimal"
|
||||
components = [ "clippy", "rustfmt" ]
|
||||
|
||||
Reference in New Issue
Block a user