File tree 1 file changed +1
-2
lines changed
compiler/rustc_session/src
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,6 @@ pub struct Session {
143
143
pub target : Target ,
144
144
pub host : Target ,
145
145
pub opts : config:: Options ,
146
- pub host_tlib_path : Arc < SearchPath > ,
147
146
pub target_tlib_path : Arc < SearchPath > ,
148
147
pub psess : ParseSess ,
149
148
pub sysroot : PathBuf ,
@@ -1042,6 +1041,7 @@ pub fn build_session(
1042
1041
1043
1042
let host_triple = config:: host_tuple ( ) ;
1044
1043
let target_triple = sopts. target_triple . tuple ( ) ;
1044
+ // FIXME use host sysroot?
1045
1045
let host_tlib_path = Arc :: new ( SearchPath :: from_sysroot_and_triple ( & sysroot, host_triple) ) ;
1046
1046
let target_tlib_path = if host_triple == target_triple {
1047
1047
// Use the same `SearchPath` if host and target triple are identical to avoid unnecessary
@@ -1070,7 +1070,6 @@ pub fn build_session(
1070
1070
target,
1071
1071
host,
1072
1072
opts : sopts,
1073
- host_tlib_path,
1074
1073
target_tlib_path,
1075
1074
psess,
1076
1075
sysroot,
You can’t perform that action at this time.
0 commit comments