diff options
| author | Michael Woerister <michaelwoerister@posteo> | 2018-03-06 10:33:42 +0100 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo> | 2018-04-06 12:14:08 +0200 |
| commit | 4f6d05dc483003e89d17c539eba4fc7a503d6390 (patch) | |
| tree | f01012216c790f8433bb96adb49209aa3df3755f /src/librustc/session | |
| parent | 435477dc6528932ebf81e038aeceec83aa1c03b4 (diff) | |
| download | rust-4f6d05dc483003e89d17c539eba4fc7a503d6390.tar.gz rust-4f6d05dc483003e89d17c539eba4fc7a503d6390.zip | |
Allow for re-using monomorphizations from upstream crates.
Diffstat (limited to 'src/librustc/session')
| -rw-r--r-- | src/librustc/session/config.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc/session/config.rs b/src/librustc/session/config.rs index 59d1a298eaa..312df69d318 100644 --- a/src/librustc/session/config.rs +++ b/src/librustc/session/config.rs @@ -1304,6 +1304,8 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options, "embed LLVM bitcode in object files"), strip_debuginfo_if_disabled: Option<bool> = (None, parse_opt_bool, [TRACKED], "tell the linker to strip debuginfo when building without debuginfo enabled."), + share_generics: Option<bool> = (None, parse_opt_bool, [TRACKED], + "make the current crate share its generic instantiations"), } pub fn default_lib_output() -> CrateType { |
