VFS: a .. in a console path stops at its mount's root #1161

Merged
emirduran707 merged 1 commit from upstream-pr/1170 into main 2026-11-30 03:09:28 +00:00
emirduran707 commented 2026-11-24 12:49:47 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by emirduran707 on 2026-11-24T12:49:47Z.


A console path with .. could leave the folder its drive is mounted on. apply_mounts put the rest of the path after the mount's target unchanged, so G:\..\data\hello.txt became <game folder>\..\data\hello.txt. That is a file next to the game folder, classified as a PC path, not the game's data\hello.txt. In the same way, T:\..\..\x reached outside the title's data folder, and S:\..\ left the PLS quota. On Windows a .. at a drive's root stays at the root (C:\..\x is C:\x), and on the console a mount is a drive.

below_mount now resolves . and .. in what follows a mount's prefix, stopping at the mount's root. Both places in apply_mounts that join a target and the rest of a path use it.

What is in it

  • crates/xcl/src/vfs.rs: below_mount, used by apply_mounts; cases added to mounts_and_classification (G:\..\data\hello.txt, G:\data\..\..\..\save.dat, GAME:\.\..\data\.\hello.txt, G:\.., T:\..\..\escape.bin, and a GAME: path below the game folder).
  • crates/xcl/tests/pls_quota.rs: the test listed S:\..\pls-other among paths that report the host's total. That path depended on the escape: it reached a folder outside S:. It now checks that S:\..\ stays at S:'s root and reports the PLS quota.

Tested

  • AMD Radeon RX 9060 XT (driver 32.0.31044.16), Ryzen 5 5600, Windows 11 Pro 26300, Rust 1.100.0; tests debug, smoke release
  • cargo test --workspace -- --test-threads=4 on dbf5dd9: 741 passed, 0 failed, 41 ignored; no SKIPPED GPU tests
  • mounts_and_classification without the change in apply_mounts fails (G:\..\data\hello.txt gives Translated("…\data\hello.txt") instead of Game { rel: "data\hello.txt" }); with it cargo test -p xcl --lib vfs:: passes, 12 passed

Regression run

main:

xcl-smoke v1
commit: 47efa2ecea0a12934719ae69b81930cf02a4b1c3
gpu: AMD Radeon RX 9060 XT
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1541 (PresentX 1541)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 19650 MB

this PR:

xcl-smoke v1
commit: dbf5dd9d83624f846accccb6f57a0b34f3eacc3c
gpu: AMD Radeon RX 9060 XT
title: retail-title
seconds: 60
exit: 0x0
frames shown: 1461 (PresentX 1462)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 18631 MB

Not tested

  • A title that uses .. in a console path; the smoke title's run is a regression check only.
  • NVIDIA and Intel GPUs.

AI use

  • Claude Code with Claude Opus 5.5: found the problem, wrote the change, the tests and this description; I reviewed the diff and ran the tests and smoke runs above.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:5472466880 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1170). Originally posted by [emirduran707](https://github.com/emirduran707) on 2026-11-24T12:49:47Z. --- A console path with `..` could leave the folder its drive is mounted on. `apply_mounts` put the rest of the path after the mount's target unchanged, so `G:\..\data\hello.txt` became `<game folder>\..\data\hello.txt`. That is a file next to the game folder, classified as a PC path, not the game's `data\hello.txt`. In the same way, `T:\..\..\x` reached outside the title's data folder, and `S:\..\` left the PLS quota. On Windows a `..` at a drive's root stays at the root (`C:\..\x` is `C:\x`), and on the console a mount is a drive. `below_mount` now resolves `.` and `..` in what follows a mount's prefix, stopping at the mount's root. Both places in `apply_mounts` that join a target and the rest of a path use it. **What is in it** - `crates/xcl/src/vfs.rs`: `below_mount`, used by `apply_mounts`; cases added to `mounts_and_classification` (`G:\..\data\hello.txt`, `G:\data\..\..\..\save.dat`, `GAME:\.\..\data\.\hello.txt`, `G:\..`, `T:\..\..\escape.bin`, and a `GAME:` path below the game folder). - `crates/xcl/tests/pls_quota.rs`: the test listed `S:\..\pls-other` among paths that report the host's total. That path depended on the escape: it reached a folder outside `S:`. It now checks that `S:\..\` stays at `S:`'s root and reports the PLS quota. **Tested** - AMD Radeon RX 9060 XT (driver 32.0.31044.16), Ryzen 5 5600, Windows 11 Pro 26300, Rust 1.100.0; tests debug, smoke release - `cargo test --workspace -- --test-threads=4` on dbf5dd9: 741 passed, 0 failed, 41 ignored; no SKIPPED GPU tests - `mounts_and_classification` without the change in `apply_mounts` fails (`G:\..\data\hello.txt` gives `Translated("…\data\hello.txt")` instead of `Game { rel: "data\hello.txt" }`); with it `cargo test -p xcl --lib vfs::` passes, 12 passed **Regression run** main: ``` xcl-smoke v1 commit: 47efa2ecea0a12934719ae69b81930cf02a4b1c3 gpu: AMD Radeon RX 9060 XT title: retail-title seconds: 60 exit: 0x0 frames shown: 1541 (PresentX 1541) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 19650 MB ``` this PR: ``` xcl-smoke v1 commit: dbf5dd9d83624f846accccb6f57a0b34f3eacc3c gpu: AMD Radeon RX 9060 XT title: retail-title seconds: 60 exit: 0x0 frames shown: 1461 (PresentX 1462) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 18631 MB ``` **Not tested** - A title that uses `..` in a console path; the smoke title's run is a regression check only. - NVIDIA and Intel GPUs. **AI use** - Claude Code with Claude Opus 5.5: found the problem, wrote the change, the tests and this description; I reviewed the diff and ran the tests and smoke runs above. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
sds-228 commented 2026-11-24 14:06:31 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by sds-228 on 2026-11-24T14:06:31Z.

Review: APPROVED


Reviewed head dbf5dd9. cargo test -p xcl --lib vfs:: → 12 passed, 0 failed; cargo test -p xcl --test pls_quota → 1 passed, 0 failed here. Verified the red/green claim: with only the production change reverted and the new tests kept, mounts_and_classification fails with a Translated(...) result; with the change it passes. Paired smoke blocks and the CI build check are present. No issue found.

AI-assisted (OpenCode).

<!-- greyfinch-sync:ivall/xcl:review:6040666466 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1170#pullrequestreview-6040666466). Originally posted by [sds-228](https://github.com/sds-228) on 2026-11-24T14:06:31Z. **Review:** APPROVED --- Reviewed head `dbf5dd9`. `cargo test -p xcl --lib vfs::` → 12 passed, 0 failed; `cargo test -p xcl --test pls_quota` → 1 passed, 0 failed here. Verified the red/green claim: with only the production change reverted and the new tests kept, `mounts_and_classification` fails with a `Translated(...)` result; with the change it passes. Paired smoke blocks and the CI build check are present. No issue found. AI-assisted (OpenCode).
fromthemoonx commented 2026-11-24 14:06:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by fromthemoonx on 2026-11-24T13:36:58Z.


NVIDIA run with the whole suite, since Not tested lists NVIDIA. The change is CPU-side, so the useful part here is the checks without the change.

Tested

  • NVIDIA GeForce RTX 3060 12 GB, driver 32.0.16.1088; AMD Ryzen 7 5700X; native Windows 11 Pro 26H2 (build 26300.9974); rustc 1.100.0 stable-x86_64-pc-windows-msvc; debug
  • Exact head dbf5dd9d83624f846accccb6f57a0b34f3eacc3c, which is on current main 47efa2e: cargo build --workspace, then cargo test --workspace --no-fail-fast -- --test-threads=4: 741 passed, 0 failed, 41 ignored. SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware.
  • Both tests fail without the change (vfs.rs as on main, with this PR's tests):
    • vfs::tests::mounts_and_classification: G:\..\data\hello.txt classifies as Translated("…\Temp\xcl_vfs_cls_…\data\hello.txt"), a file next to the game folder, instead of Game { rel: "data\hello.txt" }.
    • pls_quota::disk_free_space_ex_reports_pls_quota: S:\..\ reports 1023018004480 (the host disk) instead of 1048576 (the PLS quota).
  • vfs:: tests, 10 runs: 10 of 10 passed (12 each)
  • e2e + pls_quota, 3 runs: 3 of 3 passed (the test title's game-folder-untouched check included)

Not tested

  • A retail title using .. in console paths; release build.

AI use

  • Claude Code (Claude Opus 5.5) ran the build and tests on the machine above, including the checks without the change, and wrote this report from the output.
<!-- greyfinch-sync:ivall/xcl:comment:7133085132 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1170#issuecomment-7133085132). Originally posted by [fromthemoonx](https://github.com/fromthemoonx) on 2026-11-24T13:36:58Z. --- NVIDIA run with the whole suite, since **Not tested** lists NVIDIA. The change is CPU-side, so the useful part here is the checks without the change. **Tested** - NVIDIA GeForce RTX 3060 12 GB, driver 32.0.16.1088; AMD Ryzen 7 5700X; native Windows 11 Pro 26H2 (build 26300.9974); rustc 1.100.0 `stable-x86_64-pc-windows-msvc`; debug - **Exact head `dbf5dd9d83624f846accccb6f57a0b34f3eacc3c`**, which is on current `main` `47efa2e`: `cargo build --workspace`, then `cargo test --workspace --no-fail-fast -- --test-threads=4`: **741 passed, 0 failed, 41 ignored**. SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. - **Both tests fail without the change** (`vfs.rs` as on `main`, with this PR's tests): - `vfs::tests::mounts_and_classification`: `G:\..\data\hello.txt` classifies as `Translated("…\Temp\xcl_vfs_cls_…\data\hello.txt")`, a file next to the game folder, instead of `Game { rel: "data\hello.txt" }`. - `pls_quota::disk_free_space_ex_reports_pls_quota`: `S:\..\` reports `1023018004480` (the host disk) instead of `1048576` (the PLS quota). - `vfs::` tests, 10 runs: **10 of 10 passed** (12 each) - `e2e` + `pls_quota`, 3 runs: **3 of 3 passed** (the test title's game-folder-untouched check included) **Not tested** - A retail title using `..` in console paths; release build. **AI use** - Claude Code (Claude Opus 5.5) ran the build and tests on the machine above, including the checks without the change, and wrote this report from the output.
DavidM1911 commented 2026-11-25 08:08:18 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T07:46:45Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7156242360 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1170#issuecomment-7156242360). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T07:46:45Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
S1m0ne1997 commented 2026-11-25 15:07:54 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by S1m0ne1997 on 2026-11-25T14:35:33Z.


Test report for dbf5dd9d83624f846accccb6f57a0b34f3eacc3c (this PR's head), for #1607.

Tested

  • NVIDIA GeForce RTX 4090 24 GB (driver 621.40), AMD Ryzen 9 9950X3D, 47 GB RAM, Windows 11 Home 10.0.26300, rustc 1.100.0 (0ef1bc386 2026-11-09) x86_64-pc-windows-msvc, debug.
  • cargo build --workspace, then cargo test --workspace -- --test-threads=4 at the head: 741 passed, 0 failed, 41 ignored.
  • SKIPPED (2): gpu_geometry_wave32_prefix_count_over_a_mask (no wave64), gpu_wave32_program_in_wave64_hardware (no wave64).

Regression run (retail title, scripts/smoke.ps1 -Seconds 60, release; main built from the commit in its block, this PR from its head, no uncommitted changes)

main:

xcl-smoke v1
commit: 06c9f5505f63f10c5ec49ef932d75b2c28177324
gpu: NVIDIA GeForce RTX 4090
title: 9cc6a39e
seconds: 60
exit: 0x0
frames shown: 1599 (PresentX 1599)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 16384 MB

this PR:

xcl-smoke v1
commit: dbf5dd9d83624f846accccb6f57a0b34f3eacc3c
gpu: NVIDIA GeForce RTX 4090
title: 9cc6a39e
seconds: 60
exit: 0x0
frames shown: 1585 (PresentX 1585)
presents per 2 s (last 3): 49 52 31
device removals: 0
crashes: 0
peak commit: 22113 MB

Peak commit is over the 125 % rule: this PR's run peaked at 22 113 MB, 134 % of main's 16 384 MB (frames: within 80 %). I can't tell from this whether the PR causes it: this branch is based on 47efa2e 490 commits older than the main commit (06c9f55) its run is compared with and each side was run once. A smoke run of 47efa2e itself or of this PR rebased onto current main would separate the two.

Not tested

  • AMD, other NVIDIA cards and drivers, Linux. I did not review the diff; this report is the build, the suite and the regression run only.

AI use: Claude Code with Claude Opus 5.5 ran the build, the suite and the regression run and wrote this report at my request.

<!-- greyfinch-sync:ivall/xcl:comment:7165514244 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1170#issuecomment-7165514244). Originally posted by [S1m0ne1997](https://github.com/S1m0ne1997) on 2026-11-25T14:35:33Z. --- Test report for `dbf5dd9d83624f846accccb6f57a0b34f3eacc3c` (this PR's head), for #1607. **Tested** - NVIDIA GeForce RTX 4090 24 GB (driver 621.40), AMD Ryzen 9 9950X3D, 47 GB RAM, Windows 11 Home 10.0.26300, `rustc 1.100.0 (0ef1bc386 2026-11-09)` `x86_64-pc-windows-msvc`, debug. - `cargo build --workspace`, then `cargo test --workspace -- --test-threads=4` at the head: **741 passed, 0 failed, 41 ignored**. - SKIPPED (2): `gpu_geometry_wave32_prefix_count_over_a_mask` (no wave64), `gpu_wave32_program_in_wave64_hardware` (no wave64). **Regression run** (retail title, `scripts/smoke.ps1 -Seconds 60`, release; `main` built from the commit in its block, this PR from its head, no uncommitted changes) main: ``` xcl-smoke v1 commit: 06c9f5505f63f10c5ec49ef932d75b2c28177324 gpu: NVIDIA GeForce RTX 4090 title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 1599 (PresentX 1599) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 16384 MB ``` this PR: ``` xcl-smoke v1 commit: dbf5dd9d83624f846accccb6f57a0b34f3eacc3c gpu: NVIDIA GeForce RTX 4090 title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 1585 (PresentX 1585) presents per 2 s (last 3): 49 52 31 device removals: 0 crashes: 0 peak commit: 22113 MB ``` **Peak commit is over the 125 % rule:** this PR's run peaked at 22 113 MB, 134 % of `main`'s 16 384 MB (frames: within 80 %). I can't tell from this whether the PR causes it: this branch is based on `47efa2e` 490 commits older than the `main` commit (`06c9f55`) its run is compared with and each side was run once. A smoke run of `47efa2e` itself or of this PR rebased onto current `main` would separate the two. **Not tested** - AMD, other NVIDIA cards and drivers, Linux. I did not review the diff; this report is the build, the suite and the regression run only. *AI use: Claude Code with Claude Opus 5.5 ran the build, the suite and the regression run and wrote this report at my request.*
throny commented 2026-11-28 16:26:36 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-28T16:26:36Z.


merge-check claim
head: dbf5dd9d83

<!-- greyfinch-sync:ivall/xcl:comment:7242246719 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1170#issuecomment-7242246719). Originally posted by [throny](https://github.com/throny) on 2026-11-28T16:26:36Z. --- merge-check claim head: dbf5dd9d83624f846accccb6f57a0b34f3eacc3c
throny commented 2026-11-28 16:48:34 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-28T16:48:34Z.


merge-check
base: db3921dc
head: dbf5dd9d83
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2145 passed, 0 failed, 48 ignored (26 SKIPPED lines). Base alone at db3921dc: 2145 passed, 0 failed, 48 ignored.
review: no blocking finding; all hunks read. Checked for ways out of the mount: forward slashes, drive-relative forms, the long-path prefixes, a mount name inside a longer path, names of three dots, and trailing dots or spaces after the two dots; none gets past the mount's root. Out of this PR's scope and unchanged: a junction inside the game folder that points outside it. One earlier report in the thread measured a higher peak commit against a much newer main and was never followed up; the smoke blocks in the description are within the limits.
performance: none (one small allocation per mounted path).
verdict: safe to merge
hardware / tool and model: RTX 4080 16 GB (621.40), i9-12900K, Windows 11 26300, Rust 1.100.0, debug. Claude Code; merge, build and suite run by Claude Fable 5.2, diff review by Claude Opus 5.5 (every hunk read; nothing run on the GPU beyond the suite).

<!-- greyfinch-sync:ivall/xcl:comment:7242529327 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1170#issuecomment-7242529327). Originally posted by [throny](https://github.com/throny) on 2026-11-28T16:48:34Z. --- merge-check base: db3921dc head: dbf5dd9d83624f846accccb6f57a0b34f3eacc3c merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2145 passed, 0 failed, 48 ignored (26 SKIPPED lines). Base alone at db3921dc: 2145 passed, 0 failed, 48 ignored. review: no blocking finding; all hunks read. Checked for ways out of the mount: forward slashes, drive-relative forms, the long-path prefixes, a mount name inside a longer path, names of three dots, and trailing dots or spaces after the two dots; none gets past the mount's root. Out of this PR's scope and unchanged: a junction inside the game folder that points outside it. One earlier report in the thread measured a higher peak commit against a much newer main and was never followed up; the smoke blocks in the description are within the limits. performance: none (one small allocation per mounted path). verdict: safe to merge hardware / tool and model: RTX 4080 16 GB (621.40), i9-12900K, Windows 11 26300, Rust 1.100.0, debug. Claude Code; merge, build and suite run by Claude Fable 5.2, diff review by Claude Opus 5.5 (every hunk read; nothing run on the GPU beyond the suite).
johnbf8x commented 2026-11-30 02:10:59 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by johnbf8x on 2026-11-30T02:10:59Z.


merge-check claim
head: dbf5dd9d83

<!-- greyfinch-sync:ivall/xcl:comment:7266777865 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1170#issuecomment-7266777865). Originally posted by [johnbf8x](https://github.com/johnbf8x) on 2026-11-30T02:10:59Z. --- merge-check claim head: dbf5dd9d83624f846accccb6f57a0b34f3eacc3c
johnbf8x commented 2026-11-30 02:30:16 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by johnbf8x on 2026-11-30T02:30:16Z.


merge-check
base: 9335bc0d86
head: dbf5dd9d83
merge: clean (git merge --no-commit --no-ff onto origin/main in a detached worktree; the merged tree was tested uncommitted)
build: cargo build --workspace -> ok (the PR merged and main alike, each in its own target dir)
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 (XCL_DXC_DIR = DXC 1.9.2609) -> main and PR the same: 137 passed, 2 failed, 20 ignored outside the lib; the lib binary ends abnormally on both (0x80004005), so no lib total. SKIPPED: 28 on both (22 no wave64, 3 f16/f32 per-lane forms refused, 2 no heap windows, 1 no D3D12 debug layer). Failing: e2e test_title_draws_with_a_root_signature_under_the_debug_layer and test_title_runs_under_the_debug_layer_with_dred (no D3D12 debug layer on this PC), both fail on main too. The lib in parts: hle::d3d12x::list_x alone on 1 thread 113 passed on both; the rest on 4 threads, 0 failed before the process ends on both (PR 1738 ok, main 1739 ok). Next to the change, on 1 thread: vfs::tests:: 13 passed on both; --test pls_quota 1 passed on both. The PR's test changes alone applied on main fail: vfs::tests::mounts_and_classification (G:..\data\hello.txt is classified as a translated PC path, not Game data\hello.txt) and pls_quota's disk_free_space_ex_reports_pls_quota; both pass with the fix
review: none blocking, after reading the whole diff (vfs.rs, pls_quota.rs). below_mount runs after norm() has turned / into , so G:/../x is covered too; . and empty components are dropped, a .. pops at most to the mount's root, on both mount paths in apply_mounts (embedded "...\GAME:\rest" and a leading prefix). The pls_quota change replaces the old S:..\pls-other case, which expected an escape, with S:..\ staying at the quota's root. Out of scope, as the first check says: a junction inside the game folder pointing outside it
performance: none expected: one small Vec and one join per mounted path (reasoned, not measured)
verdict: safe to merge
hardware / tool and model: NVIDIA GeForce RTX 3070 Ti 8 GB (driver 621.40), Intel Core i7-12700K, Windows 10 Pro 19045, rustc 1.100.0 / Claude Code, Claude Opus 5.5

<!-- greyfinch-sync:ivall/xcl:comment:7267063637 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1170#issuecomment-7267063637). Originally posted by [johnbf8x](https://github.com/johnbf8x) on 2026-11-30T02:30:16Z. --- merge-check base: 9335bc0d86dbdc17c0e322bca617f35375b3e289 head: dbf5dd9d83624f846accccb6f57a0b34f3eacc3c merge: clean (git merge --no-commit --no-ff onto origin/main in a detached worktree; the merged tree was tested uncommitted) build: cargo build --workspace -> ok (the PR merged and main alike, each in its own target dir) tests: cargo test --workspace --no-fail-fast -- --test-threads=4 (XCL_DXC_DIR = DXC 1.9.2609) -> main and PR the same: 137 passed, 2 failed, 20 ignored outside the lib; the lib binary ends abnormally on both (0x80004005), so no lib total. SKIPPED: 28 on both (22 no wave64, 3 f16/f32 per-lane forms refused, 2 no heap windows, 1 no D3D12 debug layer). Failing: e2e test_title_draws_with_a_root_signature_under_the_debug_layer and test_title_runs_under_the_debug_layer_with_dred (no D3D12 debug layer on this PC), both fail on main too. The lib in parts: hle::d3d12x::list_x alone on 1 thread 113 passed on both; the rest on 4 threads, 0 failed before the process ends on both (PR 1738 ok, main 1739 ok). Next to the change, on 1 thread: vfs::tests:: 13 passed on both; --test pls_quota 1 passed on both. The PR's test changes alone applied on main fail: vfs::tests::mounts_and_classification (G:\..\data\hello.txt is classified as a translated PC path, not Game data\hello.txt) and pls_quota's disk_free_space_ex_reports_pls_quota; both pass with the fix review: none blocking, after reading the whole diff (vfs.rs, pls_quota.rs). below_mount runs after norm() has turned / into \, so G:/../x is covered too; . and empty components are dropped, a .. pops at most to the mount's root, on both mount paths in apply_mounts (embedded "...\GAME:\rest" and a leading prefix). The pls_quota change replaces the old S:\..\pls-other case, which expected an escape, with S:\..\ staying at the quota's root. Out of scope, as the first check says: a junction inside the game folder pointing outside it performance: none expected: one small Vec and one join per mounted path (reasoned, not measured) verdict: safe to merge hardware / tool and model: NVIDIA GeForce RTX 3070 Ti 8 GB (driver 621.40), Intel Core i7-12700K, Windows 10 Pro 19045, rustc 1.100.0 / Claude Code, Claude Opus 5.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!1161
No description provided.