From f8ce59e1297e1cf2e70d16a4280b6bd6c978f8db Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Fri, 22 Mar 2024 20:53:48 +0000 Subject: [PATCH] hotfix: actually add .cargo Former-commit-id: 6d7e9b27064974d46a1304942cecb154e83ec387 Former-commit-id: 45599e1d3701183866e710c47a346090c0ba29c8 --- .cargo/config.toml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..bcc4c96 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,6 @@ +[build] +rustflags = ["-C", "target-cpu=native"] + +[target.x86_64-unknown-linux-gnu] +linker = "clang" +rustflags = ["-C", "link-arg=-fuse-ld=mold"]