Skip to content

Commit

Permalink
Move rustup std lib download to base-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
catenacyber committed Sep 30, 2020
1 parent b314cd4 commit a1f71fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions infra/base-images/base-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ ENV RUSTUP_HOME=/rust/rustup
ENV PATH=$PATH:/rust/bin
RUN curl https://sh.rustup.rs | sh -s -- -y --default-toolchain=nightly
RUN cargo install cargo-fuzz
# Needed to recompile rust std library for MSAN
RUN rustup component add rust-src --toolchain nightly

# Default build flags for various sanitizers.
ENV SANITIZER_FLAGS_address "-fsanitize=address -fsanitize-address-use-after-scope"
Expand Down
1 change: 0 additions & 1 deletion projects/suricata/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ make install
cd ..

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

# build project
cd suricata
Expand Down

0 comments on commit a1f71fe

Please sign in to comment.