File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -529,7 +529,7 @@ jobs:
529
529
- i686-unknown-linux-gnu # Has assembly
530
530
# TODO: arm-unknown-linux-gnueabi # Has assembly but doesn't build w/ clang
531
531
# TODO: armv7-unknown-linux-gnueabihf # Has assembly but doesn't have profiler builtins
532
- # TODO: powerpc-unknown-linux-gnu No assembly 32-bit big-endian but doesn't have profiler builtins
532
+ - powerpc-unknown-linux-gnu # No assembly 32-bit big-endian with flags
533
533
- powerpc64-unknown-linux-gnu # No assembly 64-bit big-endian with flags
534
534
- powerpc64le-unknown-linux-gnu # No assembly 64-bit little-endian with flags
535
535
- riscv64gc-unknown-linux-gnu # No assembly 64-bit little-endian without flags
@@ -573,6 +573,9 @@ jobs:
573
573
- target : i686-unknown-linux-gnu
574
574
host_os : ubuntu-22.04
575
575
576
+ - target : powerpc-unknown-linux-gnu
577
+ host_os : ubuntu-22.04
578
+
576
579
- target : powerpc64-unknown-linux-gnu
577
580
host_os : ubuntu-22.04
578
581
Original file line number Diff line number Diff line change @@ -231,11 +231,18 @@ if [ -n "${RING_COVERAGE-}" ]; then
231
231
;;
232
232
esac
233
233
234
+ additional_rustflags=" "
235
+ case " $target " in
236
+ powerpc-unknown-linux-gnu)
237
+ additional_rustflags=" -latomic"
238
+ ;;
239
+ esac
240
+
234
241
runner_var=CARGO_TARGET_${target_upper} _RUNNER
235
242
declare -x " ${runner_var} =mk/runner ${! runner_var-} "
236
243
237
244
rustflags_var=CARGO_TARGET_${target_upper} _RUSTFLAGS
238
- declare -x " ${rustflags_var} =-Cinstrument-coverage ${! rustflags_var-} "
245
+ declare -x " ${rustflags_var} =${additional_rustflags} -Cinstrument-coverage ${! rustflags_var-} "
239
246
fi
240
247
241
248
if [ -n " ${use_clang} " ]; then
You can’t perform that action at this time.
0 commit comments