diff options
| author | Kam471 <115741199+Kam471@users.noreply.github.com> | 2026-11-22 21:07:30 +0000 |
|---|---|---|
| committer | Kam471 <115741199+Kam471@users.noreply.github.com> | 2026-11-22 21:07:30 +0000 |
| commit | 05fe8548988335bfe7ddcb306c225e3f113baf58 (patch) | |
| tree | fa94ecceb776e5a94931788829c30e54a02800d6 /runtime/test/loader_test.cpp | |
| parent | f847748cc76bd3777f9c070c4034eb2fc1c04e64 (diff) | |
rdna2spirv: refuse --out that is the input folder (BUILD-1044)
Translating with --out equal to the input disasm folder (or a folder inside it) wrote .spvasm/.spv/index.json among the .s inputs and exited 0. Resolve both paths and refuse with one ERROR line and exit 2 before mkdir or any output is written. The --merge path is exempt: it does not read src, and merging shard parts in place is how a shard run finishes.
Tests: out==input, out inside input, and a distinct out control.
Diffstat (limited to 'runtime/test/loader_test.cpp')
0 files changed, 0 insertions, 0 deletions