about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2020-04-10 22:42:19 +0200
committerMark Rousskov <mark.simulacrum@gmail.com>2020-04-11 17:49:16 -0400
commit53d58dbf5f8a65189e5f97ef46da6593484a9e79 (patch)
tree3312976ae8b46bb6c65a1540993e63b4007bfec2 /src/bootstrap
parentac2b84f9628c46c9c7e6c4870054f372962079ed (diff)
downloadrust-53d58dbf5f8a65189e5f97ef46da6593484a9e79.tar.gz
rust-53d58dbf5f8a65189e5f97ef46da6593484a9e79.zip
Require compiler-rt root at ../src/llvm-project/compiler-rt
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/compile.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/compile.rs b/src/bootstrap/compile.rs
index 32ce170a5a1..f44096af6dd 100644
--- a/src/bootstrap/compile.rs
+++ b/src/bootstrap/compile.rs
@@ -186,6 +186,8 @@ pub fn std_cargo(builder: &Builder<'_>, target: Interned<String>, cargo: &mut Ca
     // `compiler-rt` is located.
     let compiler_builtins_root = builder.src.join("src/llvm-project/compiler-rt");
     let compiler_builtins_c_feature = if compiler_builtins_root.exists() {
+        // Note that `libprofiler_builtins/build.rs` also computes this so if
+        // you're changing something here please also change that.
         cargo.env("RUST_COMPILER_RT_ROOT", &compiler_builtins_root);
         " compiler-builtins-c".to_string()
     } else {