about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWang Qilin <qilin.wang@huawei.com>2023-04-20 10:46:17 +0800
committerWang Qilin <qilin.wang@huawei.com>2023-04-20 10:46:17 +0800
commit4bd363a286beb7cb3b9e842cefe377bd8f0dc401 (patch)
treeafb76e29ea588d4cb0f633cbadf1c28079cb15cf
parent39c6804b92aa202369e402525cee329556bc1db0 (diff)
downloadrust-4bd363a286beb7cb3b9e842cefe377bd8f0dc401.tar.gz
rust-4bd363a286beb7cb3b9e842cefe377bd8f0dc401.zip
fix out of date comment about rpath in bootstrap
-rw-r--r--src/bootstrap/builder.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
index 3d3f991bffa..0d2d512b4b2 100644
--- a/src/bootstrap/builder.rs
+++ b/src/bootstrap/builder.rs
@@ -1589,8 +1589,8 @@ impl<'a> Builder<'a> {
         // which adds to the runtime dynamic loader path when looking for
         // 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
-        // of the box. This can be disabled, of course, but basically that's why
-        // we're gated on RUSTC_RPATH here.
+        // of the box. This can be disabled by setting `rpath = false` in `[rust]`
+        // table of `config.toml`
         //
         // 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