Repository navigation
build(cargo): deny compiler and rustdoc warnings - #6
Closed
google-labs-stitch[bot] wants to merge 1 commit into
Closed
google-labs-stitch[bot] wants to merge 1 commit into
google-labs-stitch[bot] wants to merge 1 commit into
Conversation
- Add .cargo/config.toml with -D warnings for rustc and rustdoc. - Add .cargo/config.toml to the repository map in AGENTS.md. - Document shell RUSTFLAGS and RUSTDOCFLAGS in AGENTS.md.
Contributor
|
Closing this PR. Setting -D warnings in .cargo/config.toml breaks local WIP development and causes build failures on future stable Rust upgrades (including release.yml). Warning denial belongs in CI and scripts (tracked in #131). This branch is also 21 commits behind main with no CI checks. |
byteland-app
deleted the
stitch/deny-warnings-cargo-config-jm1-75ce7541-cb37-47ad-bb70-f229b3dc459a
branch
November 25, 2026 08:07
Contributor
Author
|
Understood. This pull request remains closed with no further changes on this branch, because #131 tracks warning denial in CI and scripts. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.cargo/config.tomlwith-D warningsforrustcandrustdoc..cargo/config.tomlout ofCargo.tomlsocrates.ioanddocs.rsbuilds stay compatible with future compiler versions..cargo/config.tomlto the repository map inAGENTS.md.RUSTFLAGSandRUSTDOCFLAGSbehavior inAGENTS.md.Verification
cargo build --locked --release,cargo fmt --check,cargo clippy --locked --lib -- -D warningsandcargo doc --locked --no-deps.cargo build,cargo clippyandcargo docforwasm32-unknown-unknownwith--features wasm.cargo package --listexcludes.cargo/config.toml.cargo buildandcargo docexit0on clean sources and exit101onunreachable_pub,rustdoc::bare_urlsandrustdoc::invalid_html_tagswarnings.Automated PR initiated by user @byteland-app via Stitch Loop.