From 2f8ce15a9290b635b28beb3c2e480b9363ea7c14 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Tue, 4 Feb 2025 08:12:02 -0500 Subject: [PATCH] Update deny, rust-src component --- deny.toml | 2 -- orchestration/runtime/Dockerfile | 1 + orchestration/src/main.rs | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deny.toml b/deny.toml index e02fd2cf..5dceb9eb 100644 --- a/deny.toml +++ b/deny.toml @@ -7,8 +7,6 @@ db-urls = ["https://github.com/rustsec/advisory-db"] yanked = "deny" ignore = [ - "RUSTSEC-2020-0168", # mach is unmaintained - "RUSTSEC-2021-0139", # https://github.com/serai-dex/serai/228 "RUSTSEC-2022-0061", # https://github.com/serai-dex/serai/227 "RUSTSEC-2024-0370", # proc-macro-error is unmaintained "RUSTSEC-2024-0384", # instant is unmaintained diff --git a/orchestration/runtime/Dockerfile b/orchestration/runtime/Dockerfile index 8716d1af..063d693e 100644 --- a/orchestration/runtime/Dockerfile +++ b/orchestration/runtime/Dockerfile @@ -11,6 +11,7 @@ RUN rm -rf /etc/apt/sources.list.d/debian.sources && \ RUN apt update -y && apt upgrade -y && apt install -y clang # Add the wasm toolchain +RUN rustup component add rust-src RUN rustup target add wasm32v1-none FROM deterministic diff --git a/orchestration/src/main.rs b/orchestration/src/main.rs index 06e591ac..2166426f 100644 --- a/orchestration/src/main.rs +++ b/orchestration/src/main.rs @@ -163,6 +163,7 @@ RUN apt install -y pkg-config clang RUN apt install -y make protobuf-compiler # Add the wasm toolchain +RUN rustup component add rust-src RUN rustup target add wasm32v1-none {prelude}