Set rust toolchain
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 6m53s

This commit is contained in:
Dreaded_X 2025-04-18 15:23:40 +02:00
parent a0b742b0b1
commit e92b61b1a7
Signed by: Dreaded_X
GPG Key ID: 5A0CBFE3C3377FAA
4 changed files with 7 additions and 3 deletions

2
.cargo/config.toml Normal file
View File

@ -0,0 +1,2 @@
[env]
RUSTC_BOOTSTRAP = "1"

View File

@ -1,4 +1,4 @@
*
!queries
!src
!Cargo.*
!.cargo/config.toml

View File

@ -16,8 +16,6 @@ RUN cargo chef cook --release --recipe-path recipe.json
COPY . .
ARG RELEASE_VERSION
ENV RELEASE_VERSION=${RELEASE_VERSION}
# HACK: Enable the use of features on stable
ENV RUSTC_BOOTSTRAP=1
RUN cargo auditable build --release
FROM gcr.io/distroless/cc-debian12:nonroot AS runtime

4
rust-toolchain.toml Normal file
View File

@ -0,0 +1,4 @@
[toolchain]
channel = "1.85"
profile = "default"
components = ["rust-analyzer"]