Cargo.toml: set arm-always for cloudflare-zlib (#277)

Without this, cloudflare-zlib currently fails on all aarch64 CPUs.
This is one of the two solutions I proposed in #276, and it's the
option I prefer out of the two.

Fixes #276.
This commit is contained in:
Misty De Meo 2020-08-04 07:48:27 -07:00 committed by GitHub
parent 8cff959878
commit 1d05a8a224
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,8 +58,9 @@ default-features = false
features = ["png"]
version = "0.23"
[target.'cfg(any(target_arch = "x86_64", target_arch = "aarch64"))'.dependencies]
cloudflare-zlib = "^0.2.2"
[target.'cfg(any(target_arch = "x86_64", target_arch = "aarch64"))'.dependencies.cloudflare-zlib]
features = ["arm-always"]
version = "^0.2.2"
[build-dependencies]
rustc_version = "0.2"