File tree 4 files changed +12
-11
lines changed
docker/host-x86_64/x86_64-gnu-tools
4 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -241,12 +241,12 @@ fn ci_rustc_if_unchanged_logic() {
241
241
let compiler_path = build. src . join ( "compiler" ) ;
242
242
let library_path = build. src . join ( "compiler" ) ;
243
243
244
- let commit = get_closest_merge_commit (
245
- Some ( & builder. config . src ) ,
246
- & builder . config . git_config ( ) ,
247
- & [ compiler_path . clone ( ) , library_path. clone ( ) ] ,
248
- )
249
- . unwrap ( ) ;
244
+ let commit =
245
+ get_closest_merge_commit ( Some ( & builder. config . src ) , & builder . config . git_config ( ) , & [
246
+ compiler_path . clone ( ) ,
247
+ library_path. clone ( ) ,
248
+ ] )
249
+ . unwrap ( ) ;
250
250
251
251
let has_changes = !helpers:: git ( Some ( & builder. src ) )
252
252
. args ( [ "diff-index" , "--quiet" , & commit] )
Original file line number Diff line number Diff line change @@ -2736,11 +2736,10 @@ impl Config {
2736
2736
2737
2737
// Look for a version to compare to based on the current commit.
2738
2738
// Only commits merged by bors will have CI artifacts.
2739
- let commit = get_closest_merge_commit (
2740
- Some ( & self . src ) ,
2741
- & self . git_config ( ) ,
2742
- & [ self . src . join ( "compiler" ) , self . src . join ( "library" ) ] ,
2743
- )
2739
+ let commit = get_closest_merge_commit ( Some ( & self . src ) , & self . git_config ( ) , & [
2740
+ self . src . join ( "compiler" ) ,
2741
+ self . src . join ( "library" ) ,
2742
+ ] )
2744
2743
. unwrap ( ) ;
2745
2744
if commit. is_empty ( ) {
2746
2745
println ! ( "ERROR: could not find commit hash for downloading rustc" ) ;
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ ENV RUST_CONFIGURE_ARGS \
84
84
--enable-new-symbol-mangling
85
85
86
86
ENV HOST_TARGET x86_64-unknown-linux-gnu
87
+ ENV FORCE_CI_RUSTC 1
87
88
88
89
COPY host-x86_64/dist-x86_64-linux/shared.sh /scripts/
89
90
COPY host-x86_64/dist-x86_64-linux/build-gccjit.sh /scripts/
Original file line number Diff line number Diff line change 55
55
# If runner uses an incompatible option and `FORCE_CI_RUSTC` is not defined,
56
56
# switch to in-tree rustc.
57
57
if [ " $FORCE_CI_RUSTC " == " " ]; then
58
+ echo " debug: ` DISABLE_CI_RUSTC_IF_INCOMPATIBLE` configured."
58
59
DISABLE_CI_RUSTC_IF_INCOMPATIBLE=1
59
60
fi
60
61
You can’t perform that action at this time.
0 commit comments