# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/rustc/hotfix-stage0.patch.cross # Copyright (C) 2024 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License version 2 as used by the T2 SDE. # --- T2-COPYRIGHT-NOTE-END --- --- rustc-1.82.0-src/src/bootstrap/src/core/sanity.rs.vanilla +++ rustc-1.82.0-src/src/bootstrap/src/core/sanity.rs @@ -230,7 +230,7 @@ } // Ignore fake targets that are only used for unit tests in bootstrap. - if cfg!(not(feature = "bootstrap-self-test")) && !skip_target_sanity { + if cfg!(not(feature = "bootstrap-self-test")) && !skip_target_sanity && !build.local_rebuild { let mut has_target = false; let target_str = target.to_string();