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"