2ae0ed3b35
PowerPC seems to build without errors if we upgrade `zlib-ng`, but upgrading `zlib-ng` causes Windows to break (https://github.com/rust-lang/libz-sys/issues/225), and Cargo doesn't let us include two different versions. s390x fails because it can't find `stfle`. It's possible that we could fix this by by upgrading our manylinux version and/or by upgrading GCC (which may necessitate upgrading our manylinux version), but I don't know if it's fixable without one of those things? And it's not worth bumping compatibility for that reason. \cc @konstin
19 lines
677 B
TOML
19 lines
677 B
TOML
[package]
|
|
name = "uv-performance-flate2-backend"
|
|
version = "0.1.0"
|
|
publish = false
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
# Use `zlib-ng` on all supported platforms.
|
|
[target.'cfg(not(any(target_arch = "s390x", target_arch = "powerpc64", target_os = "freebsd")))'.dependencies]
|
|
flate2 = { version = "1.0.28", default-features = false, features = ["zlib-ng"] }
|
|
# See: https://github.com/rust-lang/libz-sys/issues/225
|
|
libz-ng-sys = { version = "<1.1.20" }
|
|
|
|
# Use `zlib-rs` everywhere else.
|
|
[target.'cfg(any(target_arch = "s390x", target_arch = "powerpc64", target_os = "freebsd"))'.dependencies]
|
|
flate2 = { version = "1.0.28", default-features = false, features = ["zlib-rs"] }
|