From cda44e35c70d16f96d1a4c29273993924600d3e5 Mon Sep 17 00:00:00 2001 From: Camille Mougey Date: Sun, 25 Jun 2023 16:56:28 +0200 Subject: [PATCH] Cargo/Config: remove forced AES-NI and SSE3, as it is now autodetected by the crate --- .cargo/config | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 .cargo/config diff --git a/.cargo/config b/.cargo/config deleted file mode 100644 index d37991c4..00000000 --- a/.cargo/config +++ /dev/null @@ -1,24 +0,0 @@ -# Using 'cfg` is broken, see https://github.com/rust-lang/cargo/issues/6858 -#[target.'cfg(target_arch = "x86_64")'] -#rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"] - -# …so instead we list all target triplets (Tier 1 64-bit platforms) -[target.x86_64-unknown-linux-gnu] -# Enables the aes-ni instructions for RustCrypto dependency. -rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"] - -[target.x86_64-pc-windows-gnu] -# Enables the aes-ni instructions for RustCrypto dependency. -rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"] - -[target.x86_64-pc-windows-msvc] -# Enables the aes-ni instructions for RustCrypto dependency. -rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"] - -[target.x86_64-apple-darwin] -# Enables the aes-ni instructions for RustCrypto dependency. -rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"] - -[target.x86_64-unknown-linux-musl] -# Enables the aes-ni instructions for RustCrypto dependency. -rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"]