Skip to content

illumos toolchain builds #279

Closed
Closed
@jclulow

Description

@jclulow

TL;DR

Now that the illumos target has been integrated into Rust (see rust-lang/rust#55553 and rust-lang/rust#71145) we would like to have the official project CI produce x86_64-unknown-illumos toolchain binaries that can be installed with rustup. We are keen to build Rust-based software on illumos systems, and indeed even to allow Rust as an implementation language alongside C for core illumos programs, libraries, and kernel modules.

Links and Details

illumos is an open source UNIX operating system, with several actively maintained distributions such as OmniOS and SmartOS. Following some work by Rust community members, staff at Joyent, and most recently @pfmooney and myself, the toolchain and many crates are working quite well on our platform.

The Rust ecosystem has done a great job in producing documentation and tools, and in particular with easy toolchain management through rustup. We would like to get illumos toolchains to be built along with all of the other nightly (and eventually beta/stable) toolchains that are built today, so that users on illumos can also use rustup to install official binaries. Through some initial testing, we've been able to produce a functional prototype rustup that works on various illumos distributions today, albeit from one of our own webservers and with only the binaries we have built by hand.

In addition to binary availability through rustup we are keen to be active maintainers of our port, helping to ensure that any platform-specific issues are caught during CI and that we can help with any required fixes. To that end, @pfmooney and I (@jclulow) would agree to sign up to whatever GitHub group and/or to be notified or consulted on any issues that appear illumos-specific. I'm a member of the illumos core team, and Patrick has been working on illumos for quite some time, so we should be well-placed to help.

As part of our attempt to add an illumos host built to the CI environment, we initially created a new dist-x86_64-illumos image, in a similar vein to the existing dist-x86_64-freebsd and -netbsd builder images. Unfortunately it doesn't seem like there is capacity in the CI environment for an entirely new image, so as requested we have instead folded the build into the existing dist-various-2 builder image. That work is ongoing in rust-lang/rust#71272, which is what spurred the creation of this MCP.

Mentors or Reviewers

None as yet. Would welcome guidance! It seems like we at least need some folks from the infrastructure/CI side of things as well as whatever folks from the toolchain side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-compilerAdd this label so rfcbot knows to poll the compiler teammajor-changeA proposal to make a major change to rustcmajor-change-acceptedA major change proposal that was accepted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions