Repository navigation
ci: deny compiler and rustdoc warnings in scripts and docs - #131
Merged
byteland-app merged 5 commits intoNov 26, 2026
Merged
byteland-app merged 5 commits into
byteland-app merged 5 commits into
Conversation
- Pass -D warnings to cargo rustdoc in check:wasm in package.json - Set RUSTFLAGS to -D warnings on cargo build in ci.yml - Use cargo rustc with -D warnings in AGENTS.md and README.md - Use cargo rustdoc with -D warnings in README.md - Remove the redundant RUSTDOCFLAGS prefix in AGENTS.md
Contributor
|
Review: Preferred over #6, #10, and #132 for warning denial without polluting .cargo/config.toml or src/lib.rs. Please make two small tweaks:
|
This was referenced Nov 25, 2026
…g-flags-jm1-4a209fa3-ad47-404b-8180-656116ec4d96 # Conflicts: # README.md
- Keep cargo doc --locked --no-deps --open in README.md - Remove the redundant RUSTDOCFLAGS on check:wasm in ci.yml
Contributor
Author
|
Addressed both tweaks in 7f339d4:
|
Contributor
- Combine --release with cargo rustdoc -- -D warnings in package.json - Combine --release with cargo rustdoc -- -D warnings in README.md
Contributor
Author
|
Updated the branch with latest
|
Contributor
|
Round 3 review: Approved — combining --release with cargo rustdoc -- -D warnings and keeping cargo doc --open looks clean. Please rebase onto updated main after #121. |
- Keep cargo build --locked --release in check-os in ci.yml - Set RUSTFLAGS to -D warnings on cargo build in check-os - Remove extra RUSTDOCFLAGS from check:wasm in build-wasm - Remove check:wasm from the PowerShell RUSTDOCFLAGS block
Contributor
Author
|
Updated the branch with latest
|
This was referenced Nov 26, 2026
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
This change enforces
-D warningsacross CI,npm run check:wasm, and the documented Cargo commands without changes tosrc/lib.rs,Cargo.toml, or.github/workflows/release.yml.Changes
-- -D warningstocargo rustdoc --locked --release --libincheck:wasminpackage.jsonso standalone runs deny rustdoc warnings in release mode on Linux, macOS, and Windows.RUSTFLAGS: "-D warnings"oncargo build --locked --releaseand remove the redundantRUSTDOCFLAGS: "-D warnings"onnpm run check:wasmin.github/workflows/ci.yml.cargo build --locked --releaseinAGENTS.mdandREADME.mdwithcargo rustc --locked --lib --release -- -D warnings.cargo doccommands inREADME.mdwithcargo rustdoc --locked --lib(and--releasefor Wasm) plus-- -D warnings, while keepingcargo doc --locked --no-deps --openfor local documentation viewing.RUSTDOCFLAGS="-D warnings"prefix onnpm run check:wasminAGENTS.md.Verification
0on clean HEAD for all.github/workflows/ci.yml,AGENTS.md, andREADME.mdcommands (cargo fmt --check,cargo clippy,RUSTFLAGS="-D warnings" cargo build --locked --release,cargo rustc --locked --lib --release -- -D warnings,RUSTDOCFLAGS="-D warnings" cargo doc --locked --no-deps,cargo rustdoc --locked --lib -- -D warnings,cargo rustdoc --locked --release --lib --target wasm32-unknown-unknown --features wasm -- -D warnings,cargo doc --locked --no-deps --open,cargo package --locked,npm run check:wasm, andnpm run verify:pack)..github/workflows/ci.ymland.github/workflows/release.ymlwithcheck-jsonschemaandactionlint.101in an isolated copy for syntheticunreachable_pub,rustdoc::bare_urls, andrustdoc::invalid_html_tagswarnings (including standalonenpm run check:wasmwithRUSTDOCFLAGSunset).Automated PR initiated by user @byteland-app via Stitch Loop.