skip sanity check for non-host targets in `check` builds
For check builds, since we only need to perform a sanity check on the host target, this patch skips target sanity checks on non-host targets.
For more context, see https://github.com/rust-lang/rust/issues/121519#issuecomment-1974836049
cc @saethlin
r? @albertlarsan68
rustbot has assigned @albertlarsan68. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.
Use r? to explicitly pick a reviewer
Thanks for the PR! @bors r+
:pushpin: Commit 489dcf216d62d6114b76fd7d0c6ed79a9d9b4e37 has been approved by albertlarsan68
It is now in the queue for this repository.
@bors r-
@bors r=albertlarsan68
:pushpin: Commit e5e1fa610b4b6945903246b030d7d1cad2866afb has been approved by albertlarsan68
It is now in the queue for this repository.