about summary refs log tree commit diff
diff options
context:
space:
mode:
authoronur-ozkan <work@onurozkan.dev>2024-06-14 13:10:04 +0300
committeronur-ozkan <work@onurozkan.dev>2024-06-14 13:30:53 +0300
commite2e1afaf6d273f66b5c08a1c2efb16be311f4db7 (patch)
tree315abc16064c78c8f90850e65a3ee44b451c980b
parentad787c10346fad514b3d9e87225a5a040c41a050 (diff)
downloadrust-e2e1afaf6d273f66b5c08a1c2efb16be311f4db7.tar.gz
rust-e2e1afaf6d273f66b5c08a1c2efb16be311f4db7.zip
update libstdc++ compatibility error log
Signed-off-by: onur-ozkan <work@onurozkan.dev>
-rw-r--r--src/bootstrap/src/core/sanity.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/sanity.rs b/src/bootstrap/src/core/sanity.rs
index b5f17b9f54e..4d09c42c8ab 100644
--- a/src/bootstrap/src/core/sanity.rs
+++ b/src/bootstrap/src/core/sanity.rs
@@ -128,6 +128,9 @@ pub fn check(build: &mut Build) {
                     eprintln!(
                         "Consider upgrading libstdc++ or disabling the `llvm.download-ci-llvm` option."
                     );
+                    eprintln!(
+                        "If you choose to upgrade libstdc++, run `x clean` or delete `build/host/libcxx-version` manually after the upgrade."
+                    );
                 }
             }
             tool::LibcxxVersion::Llvm(_) => {