Skip to content

Commit a3042a6

Browse files
authored
Merge pull request #483 from Dstack-TEE/chore/rust-toolchain
chore: pin Rust toolchain to 1.92
2 parents 697918c + 29fe476 commit a3042a6

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

key-provider-build/Dockerfile.key-provider

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y \
88
build-essential=12.8ubuntu1.1 \
99
&& rm -rf /var/lib/apt/lists/*
1010

11-
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.80 -y
11+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.92 -y
1212
ENV PATH="/root/.cargo/bin:${PATH}"
1313

1414
# Set environment variables
@@ -39,4 +39,4 @@ RUN gramine-sgx-sigstruct-view --output-format json gramine-sealing-key-provider
3939
COPY entrypoint-key-provider.sh /entrypoint.sh
4040
RUN chmod +x /entrypoint.sh
4141

42-
ENTRYPOINT ["/entrypoint.sh"]
42+
ENTRYPOINT ["/entrypoint.sh"]

rust-toolchain.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# SPDX-FileCopyrightText: © 2025 Phala Network <dstack@phala.network>
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
[toolchain]
6+
channel = "1.92"
7+
components = ["rustfmt", "clippy", "rust-analyzer"]
8+
targets = ["wasm32-unknown-unknown", "x86_64-unknown-linux-musl", "thumbv6m-none-eabi"]

0 commit comments

Comments
 (0)