Skip to content

[codex] Fix mainline CI backend lints#73

Merged
adpena merged 2 commits into
mainfrom
codex/inliner-doc-lint-ci-fix-20260706
Jul 6, 2026
Merged

[codex] Fix mainline CI backend lints#73
adpena merged 2 commits into
mainfrom
codex/inliner-doc-lint-ci-fix-20260706

Conversation

@adpena

@adpena adpena commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • fixes the clippy::doc_lazy_continuation failure in the inliner split-field eligibility docs
  • fixes the backend-output File::write_all trait import for Luau/Rust/WASM writer feature sets

Root causes

  • runtime/molt-passes/src/tir/passes/inliner/eligibility.rs had a Markdown list item followed by unindented continuation lines. With Rust 1.96 Clippy and -D warnings, the LLVM Backend gate failed before reaching its intended backend assertions.
  • runtime/molt-backend/src/backend_output.rs imported std::io::Write only under wasm-backend, but the Luau and Rust backend output paths also call File::write_all. The CI Luau build therefore failed with E0599.

Validation

  • Failing CI evidence: job 85417462124, LLVM Backend, runtime/molt-passes/src/tir/passes/inliner/eligibility.rs:186-187
  • Failing CI evidence: job 85421652455, wasm-build, runtime/molt-backend/src/backend_output.rs:177
  • git diff --check passed for the touched files
  • .venv\Scripts\python.exe tools\check_rustfmt.py --changed passed for the touched files

Notes

Local cargo/clippy was kept scoped because CI is exercising the exact failing gates. No witness inputs, frozen module ABI, or dynamic-call lanes are touched.

adpena added 2 commits July 6, 2026 11:13
Indent the continuation lines under the split-field inlining doc bullet so clippy::doc_lazy_continuation does not fail the LLVM Backend gate.

Proof: CI job 85417462124 failed on runtime/molt-passes/src/tir/passes/inliner/eligibility.rs:186-187 with clippy::doc_lazy_continuation. Local checks passed: git diff --check and tools/check_rustfmt.py --changed for the touched file. Local cargo/clippy was intentionally not rerun under the 2026-07-06 witness-exclusive heavy-build hold.
The previous import was gated only on wasm-backend, but the Luau and Rust backend output paths also call File::write_all. Gate std::io::Write on all backend-output writer features.

Proof: wasm-build job 85421652455 failed on cargo build -p molt-backend --no-default-features --features luau-backend with E0599 at runtime/molt-backend/src/backend_output.rs:177. Local checks passed: git diff --check and tools/check_rustfmt.py --changed for the touched file.
@adpena adpena changed the title [codex] Fix inliner doc continuation lint [codex] Fix mainline CI backend lints Jul 6, 2026
@adpena adpena marked this pull request as ready for review July 6, 2026 17:01
@adpena adpena merged commit 71614ca into main Jul 6, 2026
14 checks passed
@adpena adpena deleted the codex/inliner-doc-lint-ci-fix-20260706 branch July 6, 2026 17:02
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