diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-01-04 20:24:03 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-04-19 18:55:11 +0000 |
| commit | 83f96e81423b63af89d04899e4710ca883c716f2 (patch) | |
| tree | 53bba5bd2040384207ce87a41769da39fca1ba8e /compiler/rustc_session | |
| parent | 39ba9dadeed12f67e44ae00ebdcbcebc0edf3d61 (diff) | |
| download | rust-83f96e81423b63af89d04899e4710ca883c716f2.tar.gz rust-83f96e81423b63af89d04899e4710ca883c716f2.zip | |
Add unstable feature flags
Diffstat (limited to 'compiler/rustc_session')
| -rw-r--r-- | compiler/rustc_session/src/options.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index 631dd0a2146..0743392b19a 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -1709,6 +1709,10 @@ options! { #[rustc_lint_opt_deny_field_access("use `Session::stack_protector` instead of this field")] stack_protector: StackProtector = (StackProtector::None, parse_stack_protector, [TRACKED], "control stack smash protection strategy (`rustc --print stack-protector-strategies` for details)"), + staticlib_allow_rdylib_deps: bool = (false, parse_bool, [TRACKED], + "allow staticlibs to have rust dylib dependencies"), + staticlib_prefer_dynamic: bool = (false, parse_bool, [TRACKED], + "prefer dynamic linking to static linking for staticlibs (default: no)"), strict_init_checks: bool = (false, parse_bool, [TRACKED], "control if mem::uninitialized and mem::zeroed panic on more UB"), strip: Strip = (Strip::None, parse_strip, [UNTRACKED], |
