提交 80829af8 编写于 作者: B Brian Anderson

Remove legacy library search paths

上级 b569e9c6
......@@ -326,7 +326,7 @@ stage2/lib/$(FT_LIB): test/$(FT).rc $(SREQ2$(CFG_HOST_TRIPLE))
test/$(FT_DRIVER)$(X): test/$(FT_DRIVER).rs stage2/lib/$(FT_LIB) $(SREQ2$(CFG_HOST_TRIPLE))
@$(call E, compile_and_link: $@)
$(STAGE2) -o $@ $<
$(STAGE2) -L stage2/lib -o $@ $<
test/$(FT_DRIVER).out: test/$(FT_DRIVER)$(X) $(SREQ2$(CFG_HOST_TRIPLE))
$(Q)$(call CFG_RUN_TEST, $<)
......@@ -379,9 +379,9 @@ fn build_session_options(binary: str, match: getopts::match)
};
let library_search_paths = [
fs::connect(sysroot, "lib"), // FIXME: legacy
fs::connect(sysroot, "lib/rustc/" + target )];
let lsp_vec = getopts::opt_strs(match, "L");
// FIXME: These should probably go in front of the defaults
for lsp: str in lsp_vec { library_search_paths += [lsp]; }
let cfg = parse_cfgspecs(getopts::opt_strs(match, "cfg"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册