Files
ddidderr d784406374 build(rust): link migrated code into native libraries
Build feature-matched Rust archives for the native Make library path. Flatten
their members into libzstd.a so static consumers resolve C-to-Rust and
Rust-to-C references in one archive, and whole-archive link shared outputs so
every migrated public ABI export remains available.

Rust compression and decompression features now mirror the C partial-library
switches. This prevents compression-only artifacts from retaining DDict
references to decompression-only C helpers.

Add a C archive smoke test that round-trips data and exercises the DDict
lifecycle through lib/libzstd.a, rather than direct test-object links.

Test Plan:
- cargo fmt, strict Clippy, cargo test --all-targets, release build
- Rust checks with compression-only, decompression-only, and no features
- full, partial, forced-HUF, and 32-bit static/shared Make library probes
- test-rust-lib-smoke, fuzzer, zstreamtest, and invalidDictionaries

Refs: rust/README.md
2026-07-10 21:41:22 +02:00

74 lines
760 B
INI

# local binary (Makefile)
fullbench
fullbench32
fullbench-lib
fuzzer
fuzzer32
fuzzer-dll
zbufftest
zbufftest32
zbufftest-dll
zstreamtest
zstreamtest32
zstreamtest_asan
zstreamtest_tsan
zstreamtest_ubsan
zstreamtest-dll
datagen
paramgrill
paramgrill32
roundTripCrash
rustLibSmoke
longmatch
symbols
legacy
decodecorpus
pool
poolTests
invalidDictionaries
checkTag
zcat
zstdcat
tm
# test artifacts
dictionary
grillResults.txt
_*
tmp*
*.zst
*.gz
!gzip/hufts-segv.gz
result
out
*.zstd
hello*
world
# Tmp test directory
zstdtest
speedTest
versionsTest
namespaceTest
dirTest*
# fuzzer
afl
# Local script
startSpeedTest
speedTest.pid
*.bat
# Generic Object files
*.o
*.ko
# Generic Executables
*.exe
*.out
*.app
# Specific exclusions
!golden-decompression/*.zst