File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
compiler/rustc_session/src Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,6 @@ pub struct Session {
143143 pub target : Target ,
144144 pub host : Target ,
145145 pub opts : config:: Options ,
146- pub host_tlib_path : Arc < SearchPath > ,
147146 pub target_tlib_path : Arc < SearchPath > ,
148147 pub psess : ParseSess ,
149148 pub sysroot : PathBuf ,
@@ -1042,6 +1041,7 @@ pub fn build_session(
10421041
10431042 let host_triple = config:: host_tuple ( ) ;
10441043 let target_triple = sopts. target_triple . tuple ( ) ;
1044+ // FIXME use host sysroot?
10451045 let host_tlib_path = Arc :: new ( SearchPath :: from_sysroot_and_triple ( & sysroot, host_triple) ) ;
10461046 let target_tlib_path = if host_triple == target_triple {
10471047 // Use the same `SearchPath` if host and target triple are identical to avoid unnecessary
@@ -1070,7 +1070,6 @@ pub fn build_session(
10701070 target,
10711071 host,
10721072 opts : sopts,
1073- host_tlib_path,
10741073 target_tlib_path,
10751074 psess,
10761075 sysroot,
You can’t perform that action at this time.
0 commit comments