diff options
| author | Gary Guo <gary@garyguo.net> | 2021-10-26 23:24:23 +0100 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2021-11-15 02:14:54 +0000 |
| commit | 6a207f23eb5570d10b98dcfa669c17d5ab94e8af (patch) | |
| tree | 350b99df3c32e0cc5c187cc268d1892c975b9fb2 /compiler/rustc_session/src | |
| parent | 9740050726d8184b614b3150c7efbb63ea2288d9 (diff) | |
| download | rust-6a207f23eb5570d10b98dcfa669c17d5ab94e8af.tar.gz rust-6a207f23eb5570d10b98dcfa669c17d5ab94e8af.zip | |
Try all stable candidates first before trying unstable ones
Diffstat (limited to 'compiler/rustc_session/src')
| -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 d1d8606a75a..95ff5011180 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -1233,6 +1233,8 @@ options! { and set the maximum total size of a const allocation for which this is allowed (default: never)"), perf_stats: bool = (false, parse_bool, [UNTRACKED], "print some performance-related statistics (default: no)"), + pick_stable_methods_before_any_unstable: bool = (true, parse_bool, [TRACKED], + "try to pick stable methods first before picking any unstable methods (default: yes)"), plt: Option<bool> = (None, parse_opt_bool, [TRACKED], "whether to use the PLT when calling into shared libraries; only has effect for PIC code on systems with ELF binaries |
