stef
This commit is contained in:
parent
9669e079df
commit
30ea044632
4 changed files with 19 additions and 7 deletions
|
|
@ -5,9 +5,9 @@ d = "doc --no-deps --open"
|
|||
|
||||
[build]
|
||||
target = "x86_64-unknown-linux-gnu"
|
||||
# rustc-wrapper = "${pkgs.sccache}/bin/sccache"
|
||||
# rustc-wrapper = "/path/to/sccache"
|
||||
rustflags = ["-Zthreads=0"]
|
||||
target-dir = "~/.cache/cargo/target"
|
||||
rustflags = ["-Z", "threads=8"]
|
||||
rustc-wrapper = "/path/to/sccache"
|
||||
|
||||
[unstable]
|
||||
codegen-backend = true
|
||||
|
|
@ -34,9 +34,8 @@ lto = "fat"
|
|||
# rustflag = ["-C", "target-cpu=native", "link-arg=ld-path=${pkgs.mold}/bin/mold"]
|
||||
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
# linker = "musl-gcc"
|
||||
# linker = "clang"
|
||||
# rustflags = ["-Ctarget-cpu=native", "-Clink-arg=--ld-path=wild"]
|
||||
linker = "clang"
|
||||
rustflags = ["-Ctarget-cpu=native", "-Clink-arg=--ld-path=wild"]
|
||||
|
||||
# jonhoo
|
||||
# https://benw.is/posts/how-i-improved-my-rust-compile-times-by-seventy-five-percent
|
||||
|
|
|
|||
8
users/tao/nushell/extras/completions-just.nu
Normal file
8
users/tao/nushell/extras/completions-just.nu
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
def "nu-complete just" [] {
|
||||
(^just --dump --unstable --dump-format json | from json).recipes | transpose recipe data | flatten | where {|row| $row.private == false } | select recipe doc parameters | rename value description
|
||||
}
|
||||
|
||||
# Just: A Command Runner
|
||||
export extern "just" [
|
||||
...recipe: string@"nu-complete just", # Recipe(s) to run, may be with argument(s)
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue