docs(conventions): correct the flags configure_host_test_executable supplies #15070

Merged
MarcZX10 merged 1 commit from upstream-pr/15070 into main 2026-11-05 03:26:12 +00:00
MarcZX10 commented 2026-11-02 13:49:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-02T13:49:17Z.


What

docs/dev/CONVENTIONS.md said configure_host_test_executable supplies "the two flags ... and nothing else". The function (root CMakeLists.txt) adds -fasynchronous-unwind-tables as a compile option and -static -static-libgcc -static-libstdc++ as link options, and only on MinGW. The paragraph now describes that.

  • 23ba7b93aa docs(conventions): correct the flags configure_host_test_executable supplies

Tested

  • Documentation only; no build needed.
  • python3 tools/check_conventions.py --base upstream/main: passes.
  • git diff --check upstream/main: clean.
  • Checked against CMakeLists.txt lines 19-25 (the function body).

Checklist

  • Based on current main; no other open PR changes this paragraph
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5121392433 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15070). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-02T13:49:17Z. --- ### What `docs/dev/CONVENTIONS.md` said `configure_host_test_executable` supplies "the two flags ... and nothing else". The function (root `CMakeLists.txt`) adds `-fasynchronous-unwind-tables` as a compile option and `-static -static-libgcc -static-libstdc++` as link options, and only on MinGW. The paragraph now describes that. - 23ba7b93aa docs(conventions): correct the flags configure_host_test_executable supplies ### Tested - Documentation only; no build needed. - `python3 tools/check_conventions.py --base upstream/main`: passes. - `git diff --check upstream/main`: clean. - Checked against `CMakeLists.txt` lines 19-25 (the function body). ### Checklist - [x] Based on current `main`; no other open PR changes this paragraph - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
BunnyFl commented 2026-11-02 14:53:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-02T14:53:54Z.

Review: APPROVED


Checked against the function body in the root CMakeLists.txt on current main: inside if(MINGW) it adds -fasynchronous-unwind-tables with target_compile_options, and -static -static-libgcc -static-libstdc++ with target_link_options, and nothing else. The new sentence describes exactly that.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5738429362 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15070#pullrequestreview-5738429362). Originally posted by [BunnyFl](https://github.com/BunnyFl) on 2026-11-02T14:53:54Z. **Review:** APPROVED --- Checked against the function body in the root `CMakeLists.txt` on current `main`: inside `if(MINGW)` it adds `-fasynchronous-unwind-tables` with `target_compile_options`, and `-static -static-libgcc -static-libstdc++` with `target_link_options`, and nothing else. The new sentence describes exactly that.
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
boykopovar/AnyPS5!15070
No description provided.