From 1d05a8a2241fdbd7697d1ba9207347f33611470f Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Tue, 4 Aug 2020 07:48:27 -0700 Subject: [PATCH] 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. --- Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 92a93eaf..c1ece5a2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"