Newer
Older
hkj / .cargo / config.toml
[env]
OPENSSL_NO_VENDOR = "1"
ZSTD_SYS_USE_PKG_CONFIG = "1"
PKG_CONFIG_ALL_DYNAMIC = "1"
PKG_CONFIG_ALLOW_CROSS = "1"

# To be honest, the binary doesn't really use zstd
# so the dead code is stripped.

[target.x86_64-pc-windows-gnu.zstd]
rustc-link-lib = ["dylib=zstd"]

[target.x86_64-pc-windows-gnullvm.zstd]
rustc-link-lib = ["dylib=zstd"]

[target.aarch64-pc-windows-gnullvm.zstd]
rustc-link-lib = ["dylib=zstd"]

[target.aarch64-unknown-linux-gnu.zstd]
rustc-link-lib = ["dylib=zstd"]

[target.x86_64-unknown-linux-gnu.zstd]
rustc-link-lib = ["dylib=zstd"]