mirror of https://github.com/google/oss-fuzz.git
Suricata rust clang16 (#10019)
Meant to fix https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=57490&q=label%3AProj-suricata Cf https://github.com/rust-lang/rust/issues/107149 When will oss-fuzz use clang 16 for C ?
This commit is contained in:
parent
31ed0c8b0a
commit
bf6ebb8d0a
|
@ -28,6 +28,9 @@ RUN git clone --depth=1 https://github.com/catenacyber/fuzzpcap
|
|||
|
||||
ADD https://rules.emergingthreats.net/open/suricata/emerging.rules.zip emerging.rules.zip
|
||||
|
||||
# until clang 16 is used for C cf https://github.com/rust-lang/rust/issues/107149#issuecomment-1492637779
|
||||
RUN rustup install nightly-2023-03-24
|
||||
RUN rustup component add rust-src --toolchain nightly-2023-03-24-x86_64-unknown-linux-gnu
|
||||
RUN cargo install --force cbindgen
|
||||
|
||||
RUN git clone --depth 1 https://github.com/OISF/suricata.git suricata
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
# until clang 16 is used for C cf https://github.com/rust-lang/rust/issues/107149#issuecomment-1492637779
|
||||
rustup default nightly-2023-03-24
|
||||
|
||||
# build dependencies statically
|
||||
if [ "$SANITIZER" = "memory" ]
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue