From 5aab89ff0d3889fc681c3b221f48660d509dfdd9 Mon Sep 17 00:00:00 2001 From: NexVeridian Date: Mon, 3 Feb 2025 12:05:19 -0800 Subject: [PATCH] fix: cranelift --- .cargo/config.toml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 0a0833d..d594bf9 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,9 +1,18 @@ -[target.x86_64-unknown-linux-gnu] -linker = "clang" -rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"] +# [target.x86_64-unknown-linux-gnu] +# linker = "clang" +# rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"] [alias] t = "nextest run" [build] target-dir = "target/target" + +[unstable] +codegen-backend = true + +[profile.release] +codegen-backend = "cranelift" + +[profile.dev] +codegen-backend = "cranelift"