From 58f7545f4e815380649e62fa7784a11693172e08 Mon Sep 17 00:00:00 2001 From: surtur Date: Sat, 16 Apr 2022 17:49:02 +0200 Subject: [PATCH] cargo config: add rustc flag "target-cpu=native" --- .cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 5f2d4f9..240ca5b 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -13,3 +13,6 @@ timeout = 30 # timeout for each HTTP request, in seconds low-speed-limit = 10 # network timeout threshold (bytes/sec) check-revoke = true # check for SSL certificate revocation multiplexing = true # HTTP/2 multiplexing + +[target.x86_64-unknown-linux-gnu] +rustflags = ["-C", "target-cpu=native"]