File tree 3 files changed +31
-3
lines changed
test/run-make-fulldeps/reproducible-build
3 files changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -534,6 +534,11 @@ jobs:
534
534
strategy :
535
535
matrix :
536
536
include :
537
+ - name : x86_64-msvc-1
538
+ env :
539
+ RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --enable-profiler"
540
+ SCRIPT : make ci-subset-1
541
+ os : windows-latest-xl
537
542
- name : dist-x86_64-linux
538
543
os : ubuntu-latest-xl
539
544
env : {}
Original file line number Diff line number Diff line change @@ -668,6 +668,11 @@ jobs:
668
668
strategy :
669
669
matrix :
670
670
include :
671
+ - name : x86_64-msvc-1
672
+ env :
673
+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-msvc --enable-profiler
674
+ SCRIPT : make ci-subset-1
675
+ << : *job-windows-xl
671
676
- *dist-x86_64-linux
672
677
673
678
master :
Original file line number Diff line number Diff line change 9
9
opt \
10
10
link_paths \
11
11
remap_paths \
12
- different_source_dirs \
13
- remap_cwd_bin \
12
+ different_source_dirs_bin \
13
+ different_source_dirs_rlib \
14
14
remap_cwd_rlib \
15
15
remap_cwd_to_empty \
16
16
extern_flags
17
17
18
+ # TODO: Deterministic builds of `bin` crate types are not deterministic with
19
+ # debuginfo=2 on Windows.
20
+ # See https://github.com/rust-lang/rust/pull/87320#issuecomment-920105533
21
+ # different_source_dirs_bin \
22
+ # remap_cwd_bin \
23
+
18
24
smoke :
19
25
rm -rf $(TMPDIR ) && mkdir $(TMPDIR )
20
26
$(RUSTC ) linker.rs -O
@@ -55,7 +61,19 @@ remap_paths:
55
61
$(RUSTC ) reproducible-build.rs --crate-type rlib --remap-path-prefix=/b=/c
56
62
cmp " $( TMPDIR) /libreproducible_build.rlib" " $( TMPDIR) /libfoo.rlib" || exit 1
57
63
58
- different_source_dirs :
64
+ different_source_dirs_bin :
65
+ rm -rf $(TMPDIR ) && mkdir $(TMPDIR )
66
+ $(RUSTC ) reproducible-build-aux.rs
67
+ mkdir $(TMPDIR ) /test
68
+ cp reproducible-build.rs $(TMPDIR ) /test
69
+ $(RUSTC ) reproducible-build.rs --crate-type bin --remap-path-prefix=$$ PWD=/b
70
+ cp $(TMPDIR ) /reproducible-build $(TMPDIR ) /foo
71
+ (cd $( TMPDIR) /test && $( RUSTC) reproducible-build.rs \
72
+ --remap-path-prefix=$(TMPDIR ) /test=/b \
73
+ --crate-type bin)
74
+ cmp " $( TMPDIR) /reproducible-build" " $( TMPDIR) /foo" || exit 1
75
+
76
+ different_source_dirs_rlib :
59
77
rm -rf $(TMPDIR ) && mkdir $(TMPDIR )
60
78
$(RUSTC ) reproducible-build-aux.rs
61
79
mkdir $(TMPDIR ) /test
You can’t perform that action at this time.
0 commit comments