Skip to content

Commit

Permalink
fix(ci): work around Rustup issue on FreeBSD
Browse files Browse the repository at this point in the history
References: rust-lang/rustup#2774

Signed-off-by: Fletcher Nichol <[email protected]>
  • Loading branch information
fnichol committed May 19, 2021
1 parent 0995bd4 commit 58b28d5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,11 @@ test_task:
<<: *base_macos
- env:
TARGET: x86_64-unknown-freebsd
# Temporary workaround for error `error: sysinfo not supported on
# this platform` seen on FreeBSD platforms, affecting Rustup
#
# References: https://github.com/rust-lang/rustup/issues/2774
RUSTUP_IO_THREADS: 1
freebsd_instance:
image_family: freebsd-11-4
<<: *base_freebsd
Expand Down Expand Up @@ -261,6 +266,11 @@ build_bin_task:
<<: *build_bin_unix
archive_script: zip "$BIN-$TARGET" "$BIN-$TARGET"
- env:
# Temporary workaround for error `error: sysinfo not supported on
# this platform` seen on FreeBSD platforms, affecting Rustup
#
# References: https://github.com/rust-lang/rustup/issues/2774
RUSTUP_IO_THREADS: 1
TARGET: x86_64-unknown-freebsd
STRIP: strip
EXT: tar.gz
Expand Down

0 comments on commit 58b28d5

Please sign in to comment.