File tree 2 files changed +17
-1
lines changed
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -304,15 +304,26 @@ jobs:
304
304
305
305
# TODO: targets
306
306
include :
307
+ # TODO: Use the -musl target after
308
+ # https://github.com/rust-lang/rust/issues/79556 and
309
+ # https://github.com/rust-lang/rust/issues/79555 are fixed.
307
310
- target : aarch64-unknown-linux-gnu
308
311
host_os : ubuntu-18.04
309
312
313
+ # TODO: Use the -musl target after
314
+ # https://github.com/rust-lang/rust/issues/79556 and
315
+ # https://github.com/rust-lang/rust/issues/79555 are fixed.
310
316
- target : i686-unknown-linux-gnu
311
317
host_os : ubuntu-18.04
312
318
313
319
- target : x86_64-unknown-linux-musl
314
320
host_os : ubuntu-18.04
315
321
322
+ # TODO: Add an ARM target after
323
+ # https://github.com/rust-lang/rust/issues/79555 is fixed. This may
324
+ # require https://github.com/rust-lang/rust/issues/79555 to be fixed
325
+ # too.
326
+
316
327
steps :
317
328
- uses : actions/checkout@v2
318
329
Original file line number Diff line number Diff line change @@ -93,7 +93,12 @@ case $target in
93
93
x86_64-unknown-linux-musl)
94
94
export CC_x86_64_unknown_linux_musl=clang-$llvm_version
95
95
export AR_x86_64_unknown_linux_musl=llvm-ar-$llvm_version
96
- export CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_RUSTFLAGS=" $rustflags_self_contained "
96
+ # XXX: Work around https://github.com/rust-lang/rust/issues/79555.
97
+ if [ -n " ${RING_COVERAGE-} " ]; then
98
+ export CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_LINKER=clang-$llvm_version
99
+ else
100
+ export CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_RUSTFLAGS=" $rustflags_self_contained "
101
+ fi
97
102
;;
98
103
wasm32-unknown-unknown)
99
104
# The first two are only needed for when the "wasm_c" feature is enabled.
You can’t perform that action at this time.
0 commit comments