* Add RUSTSEC-2020-0146 to audit ignores (cherry picked from commit85252777a6
) # Conflicts: # ci/test-checks.sh * Pass audit ignores to bpf program audit (cherry picked from commitccb604f8c3
) Co-authored-by: Trent Nelson <trent@solana.com>
This commit is contained in:
@ -87,12 +87,16 @@ cargo_audit_ignores=(
|
||||
# hyper is upgraded on master/v1.6 but not for v1.5
|
||||
--ignore RUSTSEC-2021-0020
|
||||
|
||||
# generic-array: arr! macro erases lifetimes
|
||||
#
|
||||
# ed25519-dalek and libsecp256k1 not upgraded for v1.5
|
||||
--ignore RUSTSEC-2020-0146
|
||||
)
|
||||
_ scripts/cargo-for-all-lock-files.sh +"$rust_stable" audit "${cargo_audit_ignores[@]}"
|
||||
|
||||
{
|
||||
cd programs/bpf
|
||||
_ "$cargo" stable audit
|
||||
_ "$cargo" stable audit "${cargo_audit_ignores[@]}"
|
||||
for project in rust/*/ ; do
|
||||
echo "+++ do_bpf_checks $project"
|
||||
(
|
||||
|
Reference in New Issue
Block a user