mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
Update rustc.fish
- [`-L`: add a directory to the library search path][1] - [`--crate-type`: a list of types of crates for the compiler to emit][2] - [`--emit`: specifies the types of output files to generate][3] [1]: https://doc.rust-lang.org/stable/rustc/command-line-arguments.html#-l-add-a-directory-to-the-library-search-path [2]: https://doc.rust-lang.org/stable/rustc/command-line-arguments.html#--crate-type-a-list-of-types-of-crates-for-the-compiler-to-emit [3]: https://doc.rust-lang.org/stable/rustc/command-line-arguments.html#--emit-specifies-the-types-of-output-files-to-generate
This commit is contained in:
parent
85ba2ed790
commit
4116aaeb5f
@ -1,11 +1,11 @@
|
||||
complete -c rustc -s h -l help
|
||||
|
||||
complete -c rustc -x -l cfg
|
||||
complete -c rustc -r -s L -a 'dylib= static= framework='
|
||||
complete -c rustc -r -s L -a 'dependency= crate= native= framework= all='
|
||||
complete -c rustc -x -s l -a 'dylib= static= framework='
|
||||
complete -c rustc -x -l crate-type -a 'bin lib rlib dylib staticlib'
|
||||
complete -c rustc -x -l crate-type -a 'bin lib rlib dylib staticlib proc-macro'
|
||||
complete -c rustc -r -l crate-name
|
||||
complete -c rustc -x -l emit -a 'asm llvm-bc llvm-ir obj link dep-info'
|
||||
complete -c rustc -x -l emit -a 'asm llvm-bc llvm-ir obj link dep-info metadata mir'
|
||||
complete -c rustc -x -l print -a 'crate-name file-names sysroot'
|
||||
complete -c rustc -s g
|
||||
complete -c rustc -s O
|
||||
|
Loading…
x
Reference in New Issue
Block a user