Hive
fix(ci): escape Windows rustc cfg response args
GitHub issue · Closed
Summary
The release workflow on main is still failing in the Windows package jobs after the previous HOME setup fix. Those jobs now reach the Once Rust graph, but rustc rejects the generated cfg argument because the Windows response file parses feature="default" as feature=default unless the embedded quotes are escaped.
This keeps the existing response-file approach for Windows feature cfgs, since it avoids command-line length and shell quoting issues, and narrows the follow-up to the serialization boundary that was still losing quotes. Non-Windows Rust feature args continue to be passed inline, so the working Unix behavior is unchanged.
The regression test now asserts the response file contains escaped quote characters, which matches the form rustc suggests for preserving a quoted cfg value.
Testing
mise exec -- cargo test -p once-frontend --test prelude prelude_rust_windows_feature_cfgs_use_response_filemise exec -- cargo test -p once-frontend --test preludemise exec -- cargo fmt --all -- --checkgit diff --check
Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.
Start a Flight and preserve its objective, outcome, and session here.
No GitHub comments yet.