firecracker
/
rust-toolchain.toml
16 строк · 858.0 Байт
1# Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2# SPDX-License-Identifier: Apache-2.0
3
4# We keep a rust-toolchain file checked into the repository such that in the
5# rare event that we need to do an A/B-test across toolchains, cargo will
6# download the toolchains of the A and B revisions on the fly (if they do not
7# match the toolchain installed in the environment in which the test is
8# executed). This is needed for example if a toolchain upgrade introduces a new
9# syscall into our seccomp filters. Then, since our PR CI contains A/B-tests,
10# we will compile a version of Firecracker that does not have this syscall
11# allowlisted using a toolchain that requires it, causing the A/B-test to
12# always fail.
13[toolchain]
14channel = "1.76.0"
15targets = ["x86_64-unknown-linux-musl", "aarch64-unknown-linux-musl"]
16profile = "minimal"
17
18