Skip to content

Commit a1f71fe

Browse files
committed
Move rustup std lib download to base-builder
1 parent b314cd4 commit a1f71fe

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

infra/base-images/base-builder/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ ENV RUSTUP_HOME=/rust/rustup
7878
ENV PATH=$PATH:/rust/bin
7979
RUN curl https://sh.rustup.rs | sh -s -- -y --default-toolchain=nightly
8080
RUN cargo install cargo-fuzz
81+
# Needed to recompile rust std library for MSAN
82+
RUN rustup component add rust-src --toolchain nightly
8183

8284
# Default build flags for various sanitizers.
8385
ENV SANITIZER_FLAGS_address "-fsanitize=address -fsanitize-address-use-after-scope"

projects/suricata/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ make install
4545
cd ..
4646

4747
export CARGO_BUILD_TARGET="x86_64-unknown-linux-gnu"
48-
rustup component add rust-src --toolchain nightly
4948

5049
# build project
5150
cd suricata

0 commit comments

Comments
 (0)