Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pkgs/build-support/rust/hooks/cargo-setup-hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ cargoSetupPostUnpackHook() {
@cargoConfig@
EOF

# This ignores any and all lints during compilation. Package authors may have opted in to strict lint
# levels, and/or a future version of Rust may introduce a deny-by-default lint, requiring patches to
# all affected packages.
export RUSTFLAGS="$RUSTFLAGS --cap-lints allow"

echo "Finished cargoSetupPostUnpackHook"
}

Expand Down