Skip to content

Commit b577dd3

Browse files
authored
Rollup merge of rust-lang#110574 - wangkirin:fix-out-of-date-comments, r=albertlarsan68
fix out-of-date comment about rpath in bootstrap in rust-lang#64316 (rust-lang@1bec962), the `RUSTC_RPATH` enviroment variables had been removed , but the comments about the rpath still keep it this PR fix it to avoid misunstanding
2 parents 17f6763 + 4bd363a commit b577dd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bootstrap/builder.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1589,8 +1589,8 @@ impl<'a> Builder<'a> {
15891589
// which adds to the runtime dynamic loader path when looking for
15901590
// dynamic libraries. We use this by default on Unix platforms to ensure
15911591
// that our nightlies behave the same on Windows, that is they work out
1592-
// of the box. This can be disabled, of course, but basically that's why
1593-
// we're gated on RUSTC_RPATH here.
1592+
// of the box. This can be disabled by setting `rpath = false` in `[rust]`
1593+
// table of `config.toml`
15941594
//
15951595
// Ok, so the astute might be wondering "why isn't `-C rpath` used
15961596
// here?" and that is indeed a good question to ask. This codegen

0 commit comments

Comments
 (0)