Skip to content

Commit 2c01b46

Browse files
committed
chore(rustup): add rust-toolchain.toml config
Specify the latest compatible toolchain in the rust-toolchain.toml file. This will give better stability in local development and CI, without random breakages and new warning to solve. Currently we use the beta channel for an issue in rust-analyzer on 1.85.1, where diagnostics are cleared. But we should move to the stable channel on next release. Signed-off-by: Joshua Chapman <joshua.chapman@secomind.com>
1 parent a3a14d8 commit 2c01b46

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

rust-toolchain.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# This file is part of Astarte.
2+
#
3+
# Copyright 2025 SECO Mind Srl
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# SPDX-License-Identifier: Apache-2.0
18+
19+
[toolchain]
20+
channel = "1.87.0-beta.1"
21+
components = ["rust-analyzer", "llvm-tools"]
22+
profile = "default"

0 commit comments

Comments
 (0)