projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b43ba
)
Set cfg=fuzzing when building fuzz crate in CI
author
Matt Corallo
<git@bluematt.me>
Mon, 5 Jul 2021 18:13:16 +0000
(18:13 +0000)
committer
Matt Corallo
<git@bluematt.me>
Tue, 10 Aug 2021 22:26:31 +0000
(22:26 +0000)
We will likely drop the fuzztarget feature soon, and should thus be
setting cfg=fuzzing explicitly anyway.
ci/check-compiles.sh
patch
|
blob
|
history
diff --git
a/ci/check-compiles.sh
b/ci/check-compiles.sh
index 2bc31007b6b7463bfe9df5bd46d4b76bcc36901f..193c2b4ef1fee74d6dbbdfdaee2c09bb86cc9197 100755
(executable)
--- a/
ci/check-compiles.sh
+++ b/
ci/check-compiles.sh
@@
-5,5
+5,5
@@
echo Testing $(git log -1 --oneline)
cargo check
cargo doc
cargo doc --document-private-items
-cd fuzz && cargo check --features=stdin_fuzz
+cd fuzz &&
RUSTFLAGS="--cfg=fuzzing"
cargo check --features=stdin_fuzz
cd ../lightning && cargo check --no-default-features --features=no-std