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 8c59696 commit 2379721
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ task:
DISTRO: freebsd
VERSION: 12-1
USER: jdoe
# 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: ${DISTRO}-${VERSION}
prepare_script: ./support/bin/freebsd-setup.sh "--user=$USER"
Expand Down

0 comments on commit 2379721

Please sign in to comment.