ddidderr
aa817a56b1
feat(compress): move CCtx creation policy into Rust
Move public CCtx creation validation, allocation failure handling, and
allocate-before-init ordering behind a Rust-owned boundary. Keep the private
ZSTD_CCtx initialization and custom allocator invocation in C callbacks.
Test Plan:
- ulimit -v 41943040; CARGO_BUILD_JOBS=1 cargo test --manifest-path rust/Cargo.toml --release create_cctx -- --nocapture
- ulimit -v 41943040; CARGO_BUILD_JOBS=1 cargo test --manifest-path rust/Cargo.toml --release
- ulimit -v 41943040; CARGO_BUILD_JOBS=1 cargo clippy --manifest-path rust/Cargo.toml --release --all-targets -- -D warnings
- ulimit -v 41943040; make -B -C programs -j1 zstd
- ulimit -v 41943040; make -C tests -j1 test-zstream ZSTREAM_TESTTIME=-T1s
2026-07-19 16:08:20 +02:00
..
2026-07-18 18:04:11 +02:00
2026-07-11 14:26:21 +02:00
2026-07-18 01:47:33 +02:00
2026-07-10 20:44:02 +02:00
2026-07-10 20:02:17 +02:00
2026-07-10 20:02:17 +02:00
2026-07-10 20:02:17 +02:00
2026-07-12 09:16:42 +02:00
2026-07-10 20:02:17 +02:00
2026-07-12 18:06:51 +02:00
2026-07-12 10:13:41 +02:00
2026-07-12 10:40:51 +02:00
2026-07-18 15:58:59 +02:00
2026-07-11 14:23:39 +02:00
2026-07-10 20:04:26 +02:00
2026-07-10 20:02:17 +02:00
2026-07-19 11:25:59 +02:00
2026-07-18 21:46:36 +02:00
2026-07-18 17:54:12 +02:00
2026-07-10 20:44:02 +02:00
2026-07-10 20:04:26 +02:00
2026-07-10 20:06:25 +02:00
2026-07-12 09:13:10 +02:00
2026-07-10 20:48:51 +02:00
2026-07-18 08:08:40 +02:00
2026-07-12 09:16:59 +02:00
2026-07-18 16:14:20 +02:00
2026-07-10 22:38:07 +02:00
2026-07-10 20:05:35 +02:00
2026-07-11 14:25:32 +02:00
2026-07-18 02:52:26 +02:00
2026-07-10 20:02:17 +02:00
2026-07-12 09:59:58 +02:00
2026-07-18 18:56:29 +02:00
2026-07-10 20:02:17 +02:00
2026-07-18 09:26:44 +02:00
2026-07-18 20:48:11 +02:00
2026-07-19 16:02:50 +02:00
2026-07-18 08:52:42 +02:00
2026-07-11 23:11:57 +02:00
2026-07-18 09:00:15 +02:00
2026-07-18 18:43:00 +02:00
2026-07-10 22:44:39 +02:00
2026-07-18 20:48:11 +02:00
2026-07-11 23:11:57 +02:00
2026-07-19 16:08:20 +02:00
2026-07-10 21:20:50 +02:00
2026-07-18 23:46:08 +02:00
2026-07-18 22:41:17 +02:00
2026-07-18 17:13:27 +02:00
2026-07-10 22:46:15 +02:00
2026-07-11 08:06:30 +02:00
2026-07-18 15:39:37 +02:00
2026-07-11 08:22:41 +02:00
2026-07-18 17:13:27 +02:00
2026-07-10 21:28:56 +02:00
2026-07-18 18:00:42 +02:00
2026-07-19 09:43:28 +02:00