Skip to content

Commit bf6ebb8

Browse files
authored
Suricata rust clang16 (#10019)
Meant to fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=57490&q=label%3AProj-suricata Cf rust-lang/rust#107149 When will oss-fuzz use clang 16 for C ?
1 parent 31ed0c8 commit bf6ebb8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

projects/suricata/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ RUN git clone --depth=1 https://github.com/catenacyber/fuzzpcap
2828

2929
ADD https://rules.emergingthreats.net/open/suricata/emerging.rules.zip emerging.rules.zip
3030

31+
# until clang 16 is used for C cf https://github.com/rust-lang/rust/issues/107149#issuecomment-1492637779
32+
RUN rustup install nightly-2023-03-24
33+
RUN rustup component add rust-src --toolchain nightly-2023-03-24-x86_64-unknown-linux-gnu
3134
RUN cargo install --force cbindgen
3235

3336
RUN git clone --depth 1 https://github.com/OISF/suricata.git suricata

projects/suricata/build.sh

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
#
1616
################################################################################
1717

18+
# until clang 16 is used for C cf https://github.com/rust-lang/rust/issues/107149#issuecomment-1492637779
19+
rustup default nightly-2023-03-24
20+
1821
# build dependencies statically
1922
if [ "$SANITIZER" = "memory" ]
2023
then

0 commit comments

Comments
 (0)