Skip to content

ci: enforce warnings as errors in test entrypoints#357

Open
clydegerber wants to merge 1 commit intogoogle:mainfrom
clydegerber:fix/reinstate_null_ptr_deref_check
Open

ci: enforce warnings as errors in test entrypoints#357
clydegerber wants to merge 1 commit intogoogle:mainfrom
clydegerber:fix/reinstate_null_ptr_deref_check

Conversation

@clydegerber
Copy link
Copy Markdown
Contributor

Summary

  • Adds RUSTFLAGS="-D warnings" to run_cargo_test() and run_cargo_doc() in build/entrypoint.sh

All compiler warnings have been addressed in the preceding PRs (#349, #350, #356). This commit promotes warnings to errors in CI to prevent regressions.

Test plan

  • CI passes with -D warnings enabled
  • No new compiler warnings are introduced

This commit was created by an automated coding assistant, with human supervision.

Add RUSTFLAGS="-D warnings" to cargo test and cargo doc invocations in
both entrypoint.sh and entrypoint-test-current.sh so that any newly
introduced compiler warning causes CI to fail.

This commit was created by an automated coding assistant, with human
supervision.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant