We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f51d1d2 commit 1543256Copy full SHA for 1543256
compiler/rustc_session/src/session.rs
@@ -143,7 +143,6 @@ pub struct Session {
143
pub target: Target,
144
pub host: Target,
145
pub opts: config::Options,
146
- pub host_tlib_path: Arc<SearchPath>,
147
pub target_tlib_path: Arc<SearchPath>,
148
pub psess: ParseSess,
149
pub sysroot: PathBuf,
@@ -1042,6 +1041,7 @@ pub fn build_session(
1042
1041
1043
let host_triple = config::host_tuple();
1044
let target_triple = sopts.target_triple.tuple();
+ // FIXME use host sysroot?
1045
let host_tlib_path = Arc::new(SearchPath::from_sysroot_and_triple(&sysroot, host_triple));
1046
let target_tlib_path = if host_triple == target_triple {
1047
// Use the same `SearchPath` if host and target triple are identical to avoid unnecessary
@@ -1070,7 +1070,6 @@ pub fn build_session(
1070
target,
1071
host,
1072
opts: sopts,
1073
- host_tlib_path,
1074
target_tlib_path,
1075
psess,
1076
sysroot,
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments