Add support for illumos target (0.6.x)#1294
Conversation
|
This will help untangle illumos from Solaris, as noted in #1263. |
53af244 to
3c0a75a
Compare
|
Updated to require minimum working |
|
Let's focus on getting #1295 merged first, I don't know if we want to add support for a new OS to v0.6. |
|
Hi @Thomasdezeeuw! From our perspective in the illumos community, we're pretty keen to get 0.6 support done before 0.7 support. Here is a small shell script that collects all of the requested versions of #!/bin/bash
set -o errexit
set -o pipefail
crate="mio"
url="https://crates.io/api/v1/crates/$crate/reverse_dependencies?page="
n=1
while :; do
if ! res=$(curl -s -f "${url}${n}"); then
printf 'ERROR: request page %d failed\n' "$n" >&2
exit 1
fi
if ! len=$(jq '.versions | length' <<< "$res"); then
exit 1
fi
if (( len == 0 )); then
exit 0
fi
for (( i = 0; i < len; i++ )); do
if ! name=$(jq -r ".versions[$i].crate" <<< "$res") ||
! req=$(jq -r ".dependencies[$i].req" <<< "$res"); then
exit 1
fi
# printf '%-24s %s\n' "$req" "$name"
printf '%s\n' "$req"
done
(( n++ ))
doneBased on the output of this script, it's pretty plain that the 0.6 branch is by far and away the most common in the ecosystem: 215 of the 259 crates currently depend on a 0.6 version of Please let us know how we can help to move this forward! |
|
Ok we've decided to accept this for v0.6 once rustc is updated (rust-lang/rust#71145).
For the long term we need two things:
|
Thank you very much! Deeply appreciated.
We're definitely conscious of not being supported by the big CI/CD providers, and can look into what we can do for mio.
I have created a team, @illumos/rust, to house a list of people you can ask about issues! I've added @pfmooney and myself to start off. |
|
Looking closer at this, I'm not sure if people outside an organisation can see a particular team. If you want to create a GitHub team in the |
Is there something I should do to re-trigger the CI build? |
|
@pfmooney If you can merge master branch in to this, the FreeBSD check was just updated and should not hang anymore. Edit: Nevermind this is merging into 0.6 branch. May have to do the same update there. I will get that change in. |
I'm happy to rebase my bits once the 0.6.x branch is in the desired state. |
|
@pfmooney You should be okay to rebase now. Thanks for the patience on this! |
3c0a75a to
6fbf73a
Compare
Thanks for getting the 0.6.x CI situation squared away! |
kleimkuhler
left a comment
There was a problem hiding this comment.
@Thomasdezeeuw should take one more look, but looks good to me.
|
|
||
| [target.'cfg(unix)'.dependencies] | ||
| libc = "0.2.42" | ||
| libc = "0.2.54" |
There was a problem hiding this comment.
@pfmooney I assume this is a sufficient up-to-date version, I didn't manually check this.
With support for an illumos target on its way into rust, the cfg guards for
solarisshould be updated to includeillumosas well.