forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#65943 - tmandry:rollup-g20uvkh, r=tmandry
Rollup of 12 pull requests Successful merges: - rust-lang#65405 (Create new error E0742 and add long error explanation) - rust-lang#65539 (resolve: Turn the "non-empty glob must import something" error into a lint) - rust-lang#65724 (ci: refactor pr tools job skipping) - rust-lang#65741 (Prevent help popup to disappear when clicking on it) - rust-lang#65832 (Re-enable Emscripten's exception handling support) - rust-lang#65843 (Enable dist for MIPS64 musl targets) - rust-lang#65898 (add basic HermitCore support within libtest) - rust-lang#65900 (proc_macro: clean up bridge::client::__run_expand{1,2} a bit.) - rust-lang#65906 (Update mdbook to 0.3.3) - rust-lang#65920 (Use rustc-workspace-hack for rustbook) - rust-lang#65930 (doc: use new feature gate for c_void type) - rust-lang#65936 (save-analysis: Account for async desugaring in async fn return types) Failed merges: - rust-lang#65434 (Add long error explanation for E0577) r? @ghost
- Loading branch information
Showing
80 changed files
with
304 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
# Set the SKIP_JOB environment variable if this job is supposed to only run | ||
# when submodules are updated and they were not. The following time consuming | ||
# tasks will be skipped when the environment variable is present. | ||
|
||
set -euo pipefail | ||
IFS=$'\n\t' | ||
|
||
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh" | ||
|
||
if [[ -z "${CI_ONLY_WHEN_SUBMODULES_CHANGED+x}" ]]; then | ||
echo "Executing the job since there is no skip rule in effect" | ||
elif git diff HEAD^ | grep --quiet "^index .* 160000"; then | ||
# Submodules pseudo-files inside git have the 160000 permissions, so when | ||
# those files are present in the diff a submodule was updated. | ||
echo "Executing the job since submodules are updated" | ||
else | ||
echo "Not executing this job since no submodules were updated" | ||
ciCommandSetEnv SKIP_JOB 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.