Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/ci/docker/scripts/illumos-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@ GCC_BASE="gcc-$GCC_VERSION"
GCC_TAR="gcc-$GCC_VERSION.tar.xz"
GCC_URL="https://ftp.gnu.org/gnu/gcc/$GCC_BASE/$GCC_TAR"

SYSROOT_VER='20181213-de6af22ae73b-v1'
SYSROOT_SUM='ee792d956dfa6967453cebe9286a149143290d296a8ce4b8a91d36bea89f8112'
SYSROOT_VER='20210501-e0b4275f34-v0'
SYSROOT_SUM='28d8f4f6d84331ff1e99ac3d68b917cf8174897a5c00171c5e493253eb1587f6'
SYSROOT_TAR="illumos-sysroot-$SYSROOT_MACH-$SYSROOT_VER.tar.gz"
SYSROOT_URL='https://github.com/illumos/sysroot/releases/download/'
SYSROOT_URL+="$SYSROOT_VER/$SYSROOT_TAR"
SYSROOT_URL="https://github.com/illumos/sysroot/releases/download/$SYSROOT_VER/$SYSROOT_TAR"
SYSROOT_DIR="$PREFIX/sysroot"

BINUTILS_VERSION='2.40'
Expand Down
13 changes: 13 additions & 0 deletions src/doc/rustc/src/platform-support/illumos.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,16 @@ The target supports C code.

The illumos project makes available [prebuilt sysroot artefacts](https://github.com/illumos/sysroot) which can be used for cross compilation.
The official Rust binaries are cross-compiled using these artefacts.

## Target version requirements

The host tools cross-compiled for this target should work on any
illumos distribution based on illumos sources later than the
date shown in the sysroot version tag.

For details on illumos sysroot versions see:
[sysroot versions](https://github.com/illumos/sysroot/releases)

The actual sysroot version tag used is shown in the
[illumos toolchain](../../../../ci/docker/scripts/illumos-toolchain.sh)
script (see SYSROOT_VER).
Loading