You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiler/rustc_session/src/options.rs
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -878,6 +878,7 @@ mod desc {
878
878
"either a boolean (`yes`, `no`, `on`, `off`, etc), or a non-negative number";
879
879
pub(crate)const parse_llvm_module_flag:&str = "<key>:<type>:<value>:<behavior>. Type must currently be `u32`. Behavior should be one of (`error`, `warning`, `require`, `override`, `append`, `appendunique`, `max`, `min`)";
880
880
pub(crate)const parse_function_return:&str = "`keep` or `thunk-extern`";
881
+
pub(crate)const parse_harden_sls:&str = "`none`, `all`, `return` or `indirect-jmp`";
881
882
pub(crate)const parse_wasm_c_abi:&str = "`spec`";
882
883
pub(crate)const parse_mir_include_spans:&str =
883
884
"either a boolean (`yes`, `no`, `on`, `off`, etc), or `nll` (default: `nll`)";
|`compile-flags`| Flags passed to `rustc` when building the test or aux file | All except for `run-make`/`run-make-cargo`| Any valid `rustc` flags, e.g. `-Awarnings -Dfoo`. Cannot be `-Cincremental` or `--edition`|
245
-
|`edition`| The edition used to build the test | All except for `run-make`/`run-make-cargo`| Any valid `--edition` value |
246
-
|`rustc-env`| Env var to set when running `rustc`| All except for `run-make`/`run-make-cargo`|`<KEY>=<VALUE>`|
247
-
|`unset-rustc-env`| Env var to unset when running `rustc`| All except for `run-make`/`run-make-cargo`| Any env var name |
248
-
|`incremental`| Proper incremental support for tests outside of incremental test suite |`ui`, `crashes`| N/A |
249
-
|`no-prefer-dynamic`| Don't use `-C prefer-dynamic`, don't build as a dylib via a `--crate-type=dylib` preset flag |`ui`, `crashes`| N/A |
244
+
|`compile-flags`| Flags passed to `rustc` when building the test or aux file | All except for `run-make`/`run-make-cargo`| Any valid `rustc` flags, e.g. `-Awarnings -Dfoo`. Cannot be `-Cincremental` or `--edition`|
245
+
|`minicore-compile-flags`| Additional flags passed to `rustc` when building minicore | All except for `run-make`/`run-make-cargo`| Any valid `rustc` flags, e.g. `-Awarnings -Dfoo`. Cannot be `-Cincremental` or `--edition`|
246
+
|`non-aux-compile-flags`| Additional flags passed to `rustc` when building the test (not for auxiliary builds) | All except for `run-make`/`run-make-cargo`| Any valid `rustc` flags, e.g. `-Awarnings -Dfoo`. Cannot be `-Cincremental` or `--edition`|
247
+
|`edition`| The edition used to build the test | All except for `run-make`/`run-make-cargo`| Any valid `--edition` value |
248
+
|`rustc-env`| Env var to set when running `rustc`| All except for `run-make`/`run-make-cargo`|`<KEY>=<VALUE>`|
249
+
|`unset-rustc-env`| Env var to unset when running `rustc`| All except for `run-make`/`run-make-cargo`| Any env var name |
250
+
|`incremental`| Proper incremental support for tests outside of incremental test suite |`ui`, `crashes`| N/A |
251
+
|`no-prefer-dynamic`| Don't use `-C prefer-dynamic`, don't build as a dylib via a `--crate-type=dylib` preset flag |`ui`, `crashes`| N/A |
0 commit comments