This commit is contained in:
Miguel Palhas
2025-03-25 09:57:12 +00:00
parent 3579707156
commit ee45f05948
7 changed files with 19 additions and 57 deletions
+17
View File
@@ -8,10 +8,27 @@
openssl.dev
taplo
sccache
mold-wrapped
clang
];
home.sessionPath = [ "\${CARGO_HOME:-~/.cargo}/bin" ];
home.file.".cargo/config.toml".text = ''
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
[build]
rustflags = ["-Z", "threads=12"]
# [unstable]
# codegen-backend = true
#
# [profile.dev]
# codegen-backend = "cranelift"
'';
# systemd.user.services.ra-multiplex = {
# Service = {
# ExecStart = "${pkgs.ra-multiplex}/bin/ra-multiplex server";