Rollup merge of #110574 - wangkirin:fix-out-of-date-comments, r=albertlarsan68

fix out-of-date comment about rpath in bootstrap

in #64316   (1bec962f46),  the `RUSTC_RPATH`  enviroment variables had been removed , but the comments about the rpath still keep it
this PR fix it  to avoid misunstanding
This commit is contained in:
Matthias Krüger 2023-04-20 14:36:54 +02:00 committed by GitHub
commit b577dd3977
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1589,8 +1589,8 @@ pub fn cargo(
// which adds to the runtime dynamic loader path when looking for // which adds to the runtime dynamic loader path when looking for
// dynamic libraries. We use this by default on Unix platforms to ensure // dynamic libraries. We use this by default on Unix platforms to ensure
// that our nightlies behave the same on Windows, that is they work out // that our nightlies behave the same on Windows, that is they work out
// of the box. This can be disabled, of course, but basically that's why // of the box. This can be disabled by setting `rpath = false` in `[rust]`
// we're gated on RUSTC_RPATH here. // table of `config.toml`
// //
// Ok, so the astute might be wondering "why isn't `-C rpath` used // Ok, so the astute might be wondering "why isn't `-C rpath` used
// here?" and that is indeed a good question to ask. This codegen // here?" and that is indeed a good question to ask. This codegen