Repository navigation
Conversation
archive_override_bypasses_cached_framework_archive_and_links_all_objects called Fixture::build, whose fake `ar` is a #!/bin/sh script. On Windows that script cannot execute, so the warm build produced no archives and the test failed with `left: []` in the full / windows / Check job (run 41795945519). Its two sibling tests that call Fixture::build already return early on Windows; this one did not. Gate only the warm build and keep the plan/compile/finish assertions running on every platform: that half uses FakeBackend and never invokes `ar`.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
|
Superseded by #1888 ( Closing as redundant. The diagnosis here was the same: |
Why
full / windows / Check (windows-latest)fails onmain(run 41795945519, surfaced by PR #1633's full matrix):Fixture::buildshells out to the fixture's fakear, which is installed as a#!/bin/shscript (install_fake_ar). Windows cannot execute it, so the warm build returns no archives. The two sibling tests that callFixture::build(finish_keeps_selection_order_and_tolerates_failures,pending_libraries_share_one_gate) already return early on Windows; this one was missed in #1887.Fix
Gate only the warm archive build on
!is_windows(). The rest of the test —archive_override = Some(false)planning aCompile { archive: false }entry, thencompile+finishreturning the two loose.oinputs — usesFakeBackendand never invokesar, so it keeps running on every platform. No production code changes.Verification
ar's executable bit (the Windows condition):left: []/right: ["libfs.a"], 0 passed / 1 failed.soldr cargo test -p fbuild-build-esp --lib framework_libs→ 8 passed; 0 failed.soldr cargo fmt --all -- --checkrc 0;ci/check_test_layout.pyok.soldr cargo clippy -p fbuild-build-esp --all-targets -- -D warningsstops on a pre-existingfbuild-core/src/usb/data.rs:193unfulfilled#[expect(clippy::cognitive_complexity)](untouched by this diff; the known local-vs-CI cognitive_complexity disagreement). CI'slinux / Checkis the authority.