diff options
| author | Manuel Drehwald <git@manuel.drehwald.info> | 2021-06-13 18:23:01 +0200 |
|---|---|---|
| committer | Manuel Drehwald <git@manuel.drehwald.info> | 2021-06-13 18:23:01 +0200 |
| commit | 4dbdcd1c5cc5f2e61495af95d81b1fc588506aa4 (patch) | |
| tree | 858b1736a86d1c1ba817d982b2edf133749e07e3 /compiler/rustc_session | |
| parent | fb3ea63d9b4c3e9bb90d4250b870faaffb9c8fd2 (diff) | |
| download | rust-4dbdcd1c5cc5f2e61495af95d81b1fc588506aa4.tar.gz rust-4dbdcd1c5cc5f2e61495af95d81b1fc588506aa4.zip | |
allow loading of llvm plugins on nightly
Diffstat (limited to 'compiler/rustc_session')
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index 1946bfd78cc..ca0a4ecd81c 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -1122,6 +1122,8 @@ options! { "link native libraries in the linker invocation (default: yes)"), link_only: bool = (false, parse_bool, [TRACKED], "link the `.rlink` file generated by `-Z no-link` (default: no)"), + llvm_plugins: Vec<String> = (Vec::new(), parse_list, [TRACKED], + "a list LLVM plugins to enable (space separated)"), llvm_time_trace: bool = (false, parse_bool, [UNTRACKED], "generate JSON tracing data file from LLVM data (default: no)"), ls: bool = (false, parse_bool, [UNTRACKED], |
