diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2021-07-29 16:56:50 -0500 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2021-07-29 16:56:50 -0500 |
| commit | 377b4ce2b96dadb4083e39f4a6b2221e402ba515 (patch) | |
| tree | 41d13d4b43e97dd694181ebdbe5220e64d2cb81d /compiler/rustc_session | |
| parent | a985d8e6c7f0519fa1e147854430a381ac4eadf8 (diff) | |
| download | rust-377b4ce2b96dadb4083e39f4a6b2221e402ba515.tar.gz rust-377b4ce2b96dadb4083e39f4a6b2221e402ba515.zip | |
Remove unused field `Session.system_library_path`
Diffstat (limited to 'compiler/rustc_session')
| -rw-r--r-- | compiler/rustc_session/src/session.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_session/src/session.rs b/compiler/rustc_session/src/session.rs index 369af437c43..9ab6dbb1ea9 100644 --- a/compiler/rustc_session/src/session.rs +++ b/compiler/rustc_session/src/session.rs @@ -198,10 +198,6 @@ pub struct Session { /// exist under `std`. For example, wrote `str::from_utf8` instead of `std::str::from_utf8`. pub confused_type_with_std_module: Lock<FxHashMap<Span, Span>>, - /// Path for libraries that will take preference over libraries shipped by Rust. - /// Used by windows-gnu targets to priortize system mingw-w64 libraries. - pub system_library_path: OneThread<RefCell<Option<Option<PathBuf>>>>, - /// Tracks the current behavior of the CTFE engine when an error occurs. /// Options range from returning the error without a backtrace to returning an error /// and immediately printing the backtrace to stderr. @@ -1375,7 +1371,6 @@ pub fn build_session( driver_lint_caps, trait_methods_not_found: Lock::new(Default::default()), confused_type_with_std_module: Lock::new(Default::default()), - system_library_path: OneThread::new(RefCell::new(Default::default())), ctfe_backtrace, miri_unleashed_features: Lock::new(Default::default()), asm_arch, |
