docs(rust): record policy seams

Synchronize the ownership map with the default-window decompression policy, the Rust-owned single-file --list ordering, and CDict match-state reset policy moved in the latest migration cycle.

Test Plan:

- git diff --cached --check
This commit is contained in:
2026-07-21 10:02:24 +02:00
parent 505c8deebb
commit 639865d138
+6 -5
View File
@@ -127,8 +127,8 @@ zstd ABI:
- `zstd_decompress` owns the public decompression context, one-shot,
dictionary, parameter, and streaming state machines. Its C shim retains
the configuration-dependent context layout and platform details, plus
legacy and trace leaves; Rust owns the no-forward-progress threshold and
heap-mode policies, decoder storage allocation, custom memory dispatch, and the
legacy and trace leaves; Rust owns the default-window, no-forward-progress,
and heap-mode policies, decoder storage allocation, custom memory dispatch, and the
`ZSTD_copyDCtx` prefix copy up to the projected `inBuff` field.
- Command-line frontend
- `zstd_cli` owns the Rust parser, safety policy, and dispatch. It is built
@@ -141,8 +141,9 @@ zstd ABI:
optional-format decompression loops, decompression result policy/final
accounting, both shared- and separate-destination multi-file compression
schedulers, and both shared- and separate-destination decompression
schedulers. Rust also owns the scalar compression metadata-transfer and
file-removal status policies; C retains the private stat probe, metadata operations,
schedulers. Rust also owns the per-file `--list` status/order policy, the
scalar compression metadata-transfer and file-removal status policies; C
retains the private stat probe, metadata operations,
destination-name construction, and the private file/resource/format
callbacks for these scheduler boundaries.
Rust already owns the file preference policy, filename decisions,
@@ -191,7 +192,7 @@ and advanced-CDict dictionary-content loading remain in C. Rust now owns
advanced-CDict custom-memory validation, workspace-size query/allocation,
allocation/create/init cleanup ordering, the CCtx workspace-size formula, the
scalar CCtx-reset plan, post-match-state storage reservation order, and
match-state reset policy/order; C retains
match-state reset policy/order for both CCtx and CDict; C retains
private layout-size inputs, workspace resize/layout, private field publication,
and allocator callbacks. Private CCtx reset/matchfinder/workspace operations
and codec/adaptive-policy