Test

Upstream-Status: Inappropriate [patches need rework]
Signed-off-by: Sundeep K <sundeep.kokkonda@windriver.com>
Signed-off-by: Sundeep K <sundeep.kokkonda@windriver.com>

--- a/src/bootstrap/builder.rs
+++ b/src/bootstrap/builder.rs
@@ -1380,6 +1380,8 @@
         // this), as well as #63012 which is the tracking issue for this
         // feature on the rustc side.
         cargo.arg("-Zbinary-dep-depinfo");
+        let remapcmd = &format!("--remap-path-prefix PWD/rustc-1.69.0-src/build=/usr/tmp");
+        env::set_var("RUSTFLAGS",remapcmd);
         let allow_features = match mode {
             Mode::ToolBootstrap | Mode::ToolStd => {
                 // Restrict the allowed features so we don't depend on nightly
