This commit is contained in:
Tao Tien 2024-02-22 21:46:18 -08:00
parent e69cd8e3dd
commit 63baacc410
3 changed files with 14 additions and 9 deletions

12
flake.lock generated
View file

@ -67,11 +67,11 @@
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1708526834,
"narHash": "sha256-dcE2cal0dLwomM977zsZpL/i9O3zloaMPkC4oor2yYc=",
"lastModified": 1708659443,
"narHash": "sha256-OULRHvT21UNDmGMYRWs782NHNc1BcrNqj3UVJkx7zP0=",
"owner": "helix-editor",
"repo": "helix",
"rev": "98ebeeebd8c7462409f82d34ff4ac0a7ae9116c7",
"rev": "b7b6f300841bb61d8833fee1c58d0e3670849b61",
"type": "github"
},
"original": {
@ -109,11 +109,11 @@
"rust-overlay": "rust-overlay_2"
},
"locked": {
"lastModified": 1708615558,
"narHash": "sha256-Bt3gjUO81wIPLqm7qOz9f7fdimXkas2ReBQho7ldJOc=",
"lastModified": 1708650812,
"narHash": "sha256-2ewmMY9c2thujsAAmIuoIDp0HE8nIrtPRiwyajunkho=",
"owner": "martinvonz",
"repo": "jj",
"rev": "62f0cb8c3f03ade34e8862ba0cd600603fc4a91a",
"rev": "2f5ce9db892bcd60f9b0167bd1cca9e02fb9910e",
"type": "github"
},
"original": {

View file

@ -6,7 +6,7 @@
# expressvpn
# fractal
# gh
# joshuto
joshuto
# libftdi
# libusb
# mdbook

View file

@ -4,7 +4,7 @@
rr = "run --release"
[build]
target = "x86_64-unknown-linux-musl"
target = "x86_64-unknown-linux-gnu"
rustc-wrapper = "${pkgs.sccache}/bin/sccache"
rustflags = ["-Z", "threads=8"]
@ -27,7 +27,12 @@
codegen-units = 1
lto = "fat"
[target.x86-unknown-linux-musl]
# [target.x86-unknown-linux-musl]
# # linker = "musl-gcc"
# linker = "clang"
# rustflag = ["-C", "target-cpu=native", "link-arg=ld-path=${pkgs.mold}/bin/mold"]
[target.x86-unknown-linux-gnu]
# linker = "musl-gcc"
linker = "clang"
rustflag = ["-C", "target-cpu=native", "link-arg=ld-path=${pkgs.mold}/bin/mold"]