mirror of
https://github.com/gyscos/zstd-rs
synced 2024-10-18 13:52:51 +00:00
Add comment in Cargo.toml re: lto features
This commit is contained in:
parent
2e29fc33bb
commit
f6c95e7b4b
|
@ -44,6 +44,8 @@ no_asm = ["zstd-safe/no_asm"]
|
|||
doc-cfg = []
|
||||
zdict_builder = ["zstd-safe/zdict_builder"]
|
||||
|
||||
# These two are for cross-language LTO.
|
||||
# Will only work if `clang` is used to build the C library.
|
||||
fat-lto = ["zstd-safe/fat-lto"]
|
||||
thin-lto = ["zstd-safe/thin-lto"]
|
||||
|
||||
|
|
|
@ -35,5 +35,7 @@ no_asm = ["zstd-sys/no_asm"]
|
|||
doc-cfg = []
|
||||
zdict_builder = ["zstd-sys/zdict_builder"]
|
||||
|
||||
# These two are for cross-language LTO.
|
||||
# Will only work if `clang` is used to build the C library.
|
||||
fat-lto = ["zstd-sys/fat-lto"]
|
||||
thin-lto = ["zstd-sys/thin-lto"]
|
||||
|
|
|
@ -77,5 +77,7 @@ thin = [] # Optimize binary by size
|
|||
no_asm = [] # Disable ASM files (only on amd64 for decompression)
|
||||
zdict_builder = []
|
||||
|
||||
# These two are for cross-language LTO.
|
||||
# Will only work if `clang` is used to build the C library.
|
||||
fat-lto = [] # Enable fat-lto, will override thin-lto if specified
|
||||
thin-lto = [] # Enable thin-lto, will fallback to fat-lto if not supported
|
||||
|
|
Loading…
Reference in a new issue