File tree 4 files changed +24
-12
lines changed
rustc_codegen_ssa/src/back
rustc_target/src/spec/base
4 files changed +24
-12
lines changed Original file line number Diff line number Diff line change @@ -58,13 +58,16 @@ jobs:
58
58
- name : mingw-check-tidy
59
59
os : ubuntu-20.04-4core-16gb
60
60
env : {}
61
- - name : x86_64-gnu-llvm-17
61
+ - name : x86_64-msvc
62
62
env :
63
- ENABLE_GCC_CODEGEN : " 1"
64
- os : ubuntu-20.04-16core-64gb
65
- - name : x86_64-gnu-tools
66
- os : ubuntu-20.04-16core-64gb
67
- env : {}
63
+ RUST_CONFIGURE_ARGS : " --build=x86_64-pc-windows-msvc --enable-profiler"
64
+ SCRIPT : make ci-msvc
65
+ os : windows-2019-8core-32gb
66
+ - name : i686-msvc
67
+ env :
68
+ RUST_CONFIGURE_ARGS : " --build=i686-pc-windows-msvc"
69
+ SCRIPT : make ci-msvc
70
+ os : windows-2019-8core-32gb
68
71
defaults :
69
72
run :
70
73
shell : " ${{ contains(matrix.os, 'windows') && 'msys2 {0}' || 'bash' }}"
Original file line number Diff line number Diff line change @@ -231,7 +231,11 @@ impl<'a> ArArchiveBuilder<'a> {
231
231
"gnu" => ArchiveKind :: Gnu ,
232
232
"bsd" => ArchiveKind :: Bsd ,
233
233
"darwin" => ArchiveKind :: Darwin ,
234
- "coff" => ArchiveKind :: Coff ,
234
+ "coff" => {
235
+ // FIXME: ar_archive_writer doesn't support COFF archives yet.
236
+ // https://github.com/rust-lang/ar_archive_writer/issues/9
237
+ ArchiveKind :: Gnu
238
+ }
235
239
"aix_big" => ArchiveKind :: AixBig ,
236
240
kind => {
237
241
self . sess . dcx ( ) . emit_fatal ( UnknownArchiveKind { kind } ) ;
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ pub fn opts() -> TargetOptions {
14
14
pre_link_args,
15
15
abi_return_struct_as_int : true ,
16
16
emit_debug_gdb_scripts : false ,
17
+ archive_format : "coff" . into ( ) ,
17
18
18
19
// Currently this is the only supported method of debuginfo on MSVC
19
20
// where `*.pdb` files show up next to the final artifact.
Original file line number Diff line number Diff line change @@ -357,13 +357,17 @@ jobs:
357
357
- name : mingw-check-tidy
358
358
<< : *job-linux-4c
359
359
360
- - name : x86_64-gnu-llvm-17
360
+ - name : x86_64-msvc
361
361
env :
362
- ENABLE_GCC_CODEGEN : " 1"
363
- << : *job-linux-16c
362
+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-msvc --enable-profiler
363
+ SCRIPT : make ci-msvc
364
+ << : *job-windows-8c
364
365
365
- - name : x86_64-gnu-tools
366
- << : *job-linux-16c
366
+ - name : i686-msvc
367
+ env :
368
+ RUST_CONFIGURE_ARGS : --build=i686-pc-windows-msvc
369
+ SCRIPT : make ci-msvc
370
+ << : *job-windows-8c
367
371
368
372
auto :
369
373
<< : *base-ci-job
You can’t perform that action at this time.
0 commit comments