# HG changeset patch # User ijl <ijl@mailbox.org> # Date 1603925513 0 # Wed Oct 28 22:51:53 2020 +0000 # Node ID bc06ded407d452ae09d2e349a7bb9c77647e42dc # Parent db0807bfeef9b7d3bf0525937fc66284cdeb1db4 Limit encoding_rs simd-accel feature to supported arch diff --git a/Cargo.toml b/Cargo.toml --- a/Cargo.toml +++ b/Cargo.toml @@ -62,6 +62,9 @@ smallvec = { version = "1", default_features = false, features = ["const_generics", "union", "specialization", "write"] } wyhash = { version = "0.4" } +[target.'cfg(not(any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "i686", target_arch = "armv7")))'.dependencies] +encoding_rs = { path = "./encoding_rs", default_features = false } + [profile.release] codegen-units = 1 debug = false