From e43187579385dc8c362a1b51761d50c545a0ceaf Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Tue, 26 Nov 2024 09:15:42 +0100 Subject: [PATCH] Add .cargo/config.toml with required RUSTFLAGS Due to gxhash, these flags are required to be able to compile, so just set them once rather than requiring passing RUSTFLAGS --- .cargo/config.toml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 000000000..9dce589bb --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,4 @@ +[target.'cfg(all())'] +rustflags = [ + "-Ctarget-feature=+aes,+avx2", +]