We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f20059b commit 34325c2Copy full SHA for 34325c2
scripts/check_makefile.sh
@@ -102,9 +102,9 @@ main() (
102
103
forbidden_flags=$(jq -r '.forbidden.rust[]' "$forbidden_flags_file")
104
105
- while IFS= read -r line; do
106
- echo "Checking flag $line"
107
- if grep -q "$line" Cargo.toml .cargo/config.toml env_rustflags.txt; then
+ while IFS= read -r forbidden_flag; do
+ echo "Checking flag $forbidden_flag"
+ if grep -q "$forbidden_flag" Cargo.toml .cargo/config.toml env_rustflags.txt; then
108
log_error_no_header "Detected forbidden flag $forbidden_flag in build output."
109
error=1
110
else
0 commit comments