whatever
This commit is contained in:
parent
e69cd8e3dd
commit
63baacc410
3 changed files with 14 additions and 9 deletions
|
|
@ -6,7 +6,7 @@
|
|||
# expressvpn
|
||||
# fractal
|
||||
# gh
|
||||
# joshuto
|
||||
joshuto
|
||||
# libftdi
|
||||
# libusb
|
||||
# mdbook
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue