aboutsummaryrefslogtreecommitdiff
path: root/projects/linkerd2-proxy
diff options
context:
space:
mode:
authorDavidKorczynski <david@adalogics.com>2021-04-21 11:37:59 +0100
committerGitHub <noreply@github.com>2021-04-21 11:37:59 +0100
commit355ef008f9993542f49abc2cfd562f1462361aba (patch)
tree514f61f7cfb0e31dc86b23cb51a1aded1788a9e8 /projects/linkerd2-proxy
parent701054f8405f2354f629da8bd8d94bc9302cf5ff (diff)
downloadoss-fuzz-355ef008f9993542f49abc2cfd562f1462361aba.tar.gz
cleaned up linkerd2 build. (#5647)
Diffstat (limited to 'projects/linkerd2-proxy')
-rwxr-xr-xprojects/linkerd2-proxy/build.sh13
1 files changed, 4 insertions, 9 deletions
diff --git a/projects/linkerd2-proxy/build.sh b/projects/linkerd2-proxy/build.sh
index 228d7742f..0c4de906c 100755
--- a/projects/linkerd2-proxy/build.sh
+++ b/projects/linkerd2-proxy/build.sh
@@ -19,12 +19,9 @@ TARGET_PATH="./fuzz/target/x86_64-unknown-linux-gnu/release"
BASE="$SRC/linkerd2-proxy/linkerd"
BUILD_FUZZER="cargo +nightly fuzz build --features fuzzing"
-# Only compile inbound if there is no coverage
-if [ $SANITIZER != "coverage" ]; then
- cd ${BASE}/app/inbound
- RUSTFLAGS="--cap-lints warn" ${BUILD_FUZZER}
- cp ${TARGET_PATH}/fuzz_target_1 $OUT/fuzz_inbound
-fi
+cd ${BASE}/app/inbound
+${BUILD_FUZZER}
+cp ${TARGET_PATH}/fuzz_target_1 $OUT/fuzz_inbound
cd ${BASE}/addr/
${BUILD_FUZZER}
@@ -45,6 +42,4 @@ cp ${TARGET_PATH}/fuzz_target_1 $OUT/fuzz_tls
cd ${BASE}/transport-header
${BUILD_FUZZER}
cp ${TARGET_PATH}/fuzz_target_raw $OUT/fuzz_transport_raw
-if [ $SANITIZER != "coverage" ]; then
- cp ${TARGET_PATH}/fuzz_target_structured $OUT/fuzz_transport_structured
-fi
+cp ${TARGET_PATH}/fuzz_target_structured $OUT/fuzz_transport_structured