CI: release build with line tables; xcl.exe and xcl.pdb kept on main #600
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!600
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/600/head"
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?
@Kaairim on GitHub · 2026-11-24 02:19 UTC · original
Kaairim:release-profile→main· +52 −0 · 2 files · 1 commits · closed without mergingRegression runs use
target\release\xcl.exe(scripts/smoke.ps1), but CI only builds debug, so a release-only build error first shows in the maintainer's batch. Crash lines also give addresses asmodule+0x…with no PDB to turn them into lines (#477, #498, #534).What is in it
Cargo.toml:[profile.release] debug = "line-tables-only"– the linker writesxcl.pdbnext toxcl.exe; line tables do not change the generated code.github/workflows/ci.yml: areleasejob (Windows):cargo build --release -p xcl, fails ifxcl.pdbis missing; on pushes to main it keepsxcl.exeandxcl.pdbas the run's artifact (14 days). PRs build but upload nothing: that would be a build of unreviewed codeTested
Not tested
crates/xcl/src, so no regression run; the generated code should be identical, but I did not compare binariesAI use
Improvements by William "kaairim" Deivid (wdcore).
🤖 Generated with Claude Code
@theaustinayers on GitHub · 2026-11-24 03:57 UTC · original
A local build of this on Windows, since the description says it was not built. Written with Claude Code (Claude Fable 5.2) from builds on my machine.
Tested
cargo build --release -p xclat this PR's merge base and at its head52d5f5f(same target directory, built one after the other).debug = "line-tables-only"the profile line readsoptimized + debuginfoand the build took 48 s here against 27 s.xcl.exe: 6 664 192 bytes at the base, 6 662 144 bytes with this PR. The two files are not byte-identical (their hashes differ); I did not compare the code sections.xcl.pdb: 3 878 912 bytes at the base (one is written there already, without line tables), 22 056 960 bytes with this PR.Not tested
releasejob inci.yml(it runs on GitHub, not here) and its artifact upload.@raylitebull on GitHub · 2026-11-24 10:42 UTC · original
Closing as superseded by #713, which has already been merged into
main.Pull request closed