Skip to content

Commit 5cf6566

Browse files
authored
Rollup merge of #87608 - Aaron1011:remove-system-library, r=Mark-Simulacrum
Remove unused field `Session.system_library_path`
2 parents 0d747d0 + 377b4ce commit 5cf6566

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

compiler/rustc_session/src/session.rs

-5
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,6 @@ pub struct Session {
198198
/// exist under `std`. For example, wrote `str::from_utf8` instead of `std::str::from_utf8`.
199199
pub confused_type_with_std_module: Lock<FxHashMap<Span, Span>>,
200200

201-
/// Path for libraries that will take preference over libraries shipped by Rust.
202-
/// Used by windows-gnu targets to priortize system mingw-w64 libraries.
203-
pub system_library_path: OneThread<RefCell<Option<Option<PathBuf>>>>,
204-
205201
/// Tracks the current behavior of the CTFE engine when an error occurs.
206202
/// Options range from returning the error without a backtrace to returning an error
207203
/// and immediately printing the backtrace to stderr.
@@ -1375,7 +1371,6 @@ pub fn build_session(
13751371
driver_lint_caps,
13761372
trait_methods_not_found: Lock::new(Default::default()),
13771373
confused_type_with_std_module: Lock::new(Default::default()),
1378-
system_library_path: OneThread::new(RefCell::new(Default::default())),
13791374
ctfe_backtrace,
13801375
miri_unleashed_features: Lock::new(Default::default()),
13811376
asm_arch,

0 commit comments

Comments
 (0)