CI: keep full symbols in release builds #708

Merged
bmjask merged 1 commit from upstream-pr/713 into main 2026-11-24 04:16:57 +00:00
bmjask commented 2026-11-24 03:59:35 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by bmjask on 2026-11-24T03:59:35Z.


Alpha builds need full optimized-build symbols so release-only crashes can be inspected with locals and type information, without rebuilding a different diagnostic executable. This intentionally requests full debuginfo rather than the line-tables-only scope of #600.

What is in it

  • Cargo.toml: keep release optimization and set profile.release.debug = 2 so Cargo emits full debug information into xcl.pdb.

Tested

  • Commit 4e0acbd.
  • Windows 11 build 26200; Intel Core i9-12900K; NVIDIA GeForce RTX 4090, driver 610.88; Rust 1.100.0 MSVC; DXC 1.9.2602.17.
  • cargo build --release -p xcl: passed; xcl.exe 6,791,680 bytes and xcl.pdb 74,788,864 bytes.
  • .\scripts\test.ps1: 701 passed, 0 failed, 41 ignored; 2 GPU tests explicitly skipped because this adapter has no native wave64.

Not tested

  • AMD and Intel GPUs.
  • Build time, linker memory, artifact-download size, and runtime performance comparisons against release debug = 0 or line tables only.
  • Retail regression smoke; this changes only Cargo's release debug-information profile, not crates/xcl/src.

AI use

  • OpenAI Codex with GPT-5 implemented and reviewed the one-file change, ran the Windows release build and full workspace suite, and drafted this description. The human requested the full-symbol policy and authorized this PR.
<!-- greyfinch-sync:ivall/xcl:issue:6574294135 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/713). Originally posted by [bmjask](https://github.com/bmjask) on 2026-11-24T03:59:35Z. --- Alpha builds need full optimized-build symbols so release-only crashes can be inspected with locals and type information, without rebuilding a different diagnostic executable. This intentionally requests full debuginfo rather than the line-tables-only scope of #600. **What is in it** - `Cargo.toml`: keep release optimization and set `profile.release.debug = 2` so Cargo emits full debug information into `xcl.pdb`. **Tested** - Commit `4e0acbd`. - Windows 11 build 26200; Intel Core i9-12900K; NVIDIA GeForce RTX 4090, driver 610.88; Rust 1.100.0 MSVC; DXC 1.9.2602.17. - `cargo build --release -p xcl`: passed; `xcl.exe` 6,791,680 bytes and `xcl.pdb` 74,788,864 bytes. - `.\scripts\test.ps1`: 701 passed, 0 failed, 41 ignored; 2 GPU tests explicitly skipped because this adapter has no native wave64. **Not tested** - AMD and Intel GPUs. - Build time, linker memory, artifact-download size, and runtime performance comparisons against release `debug = 0` or line tables only. - Retail regression smoke; this changes only Cargo's release debug-information profile, not `crates/xcl/src`. **AI use** - OpenAI Codex with GPT-5 implemented and reviewed the one-file change, ran the Windows release build and full workspace suite, and drafted this description. The human requested the full-symbol policy and authorized this PR.
upstream-sync closed this pull request 2026-11-24 06:59:38 +00:00
nicolasabosch commented 2026-11-24 07:06:22 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by nicolasabosch on 2026-11-24T04:48:42Z.


GPT-5??

<!-- greyfinch-sync:ivall/xcl:comment:7122359879 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/713#issuecomment-7122359879). Originally posted by [nicolasabosch](https://github.com/nicolasabosch) on 2026-11-24T04:48:42Z. --- GPT-5??
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!708
No description provided.