Tests: construct benchmark config without private fields #3102
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3102"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-28T06:00:17Z.
Windows CI on
mainfails to compile the runtime benchmark:Confighas a privateinput_profilefield, so an external benchmark cannot use struct-update syntax (E0451). This keeps the all-target CI gate red for unrelated PRs.What is in it
crates/xcl/benches/runtime.rs: create the default config, then set its publicmountsfield. The benchmark inputs and measured code are unchanged.Tested
cargo check --offline --locked -j 4 -p xcl --bench runtime: passed.cargo test --offline --locked -j 4 --workspace --all-targets --no-run: passed, includingbenches/runtime.rs.cargo test --offline --locked -j 4 --workspace --no-fail-fast -- --test-threads=4: 2,125 passed, 10 failed, 48 ignored across 39 targets; 25 distinctSKIPPEDGPU cases. The ten failures are the same as on untouchedmainate429936c.Not tested
AI use
Codex (GPT-6.2 Sol) diagnosed the CI failure, wrote the change, ran the tests, and drafted this description.