mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:30:53 +01:00
[PR #1254] [CLOSED] spirv_asm: refuse an output that aliases the source (OLD-10025) #1285
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1285
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1254
Author: @wetw0rks-c0ding
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:restore/old-10025-spirv-asm-alias📄 Description
Claimed in the coordination issue as: OLD-10025
What and why
tools/spirv_asm.pywould overwrite its input file if the requested output aliased the source, destroying the assembly input. It now refuses such an output and a regression test pins the behaviour.Tested
python3 -m unittest tests/test_spirv_asm.py-> Ran 38 tests, OK (exit 0)python -I scripts/check_no_game_data.py tools/spirv_asm.py tests/test_spirv_asm.py-> clean (exit 0)AI-assisted: Yes. This work was done with OpenCode agents.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.