-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add support for illumos target #1251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
and Solaris-derived distributions (i.e. illumos). In addition, a number of missing definitions (and compatability functions) that have been found necessary to run a number of rust binaries on illumos have been added. Portions were contributed by Mike Zeller <[email protected]>
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
The AppVeyor failure appears to be a network related issue, however the Travis CI is flagging rustfmt. I can run the code through rustfmt and update the PR, though should 2015 or 2018 style be used? It may not make a difference between the two, but it would be good to know in general for future PRs. I didn't see anything that discussed it for submitting PRs, but might have missed it. |
Does |
Unless I'm misunderstanding the output, it appears that
Running |
What's your |
rustfmt 1.0.1-dev (be135599 2018-12-10) |
So I can reproduce this, I've filled an issue upstream: rust-lang/rustfmt#3341 Would you mind adding a commit that comments out the rustfmt build bot from the |
.travis.yml
Outdated
# install: rustup component add rustfmt-preview | ||
# script: | ||
# - rustc ci/style.rs && ./style src | ||
# - cargo fmt --all -- --check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to disable only this line? We'd like to keep using the other style checker, I forgot about it :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the cargo fmt line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
Thank you! @bors: r+ |
📌 Commit 0b488bf has been approved by |
Add support for illumos target This change adds support for an illumos os target to libc. Similar to the BSDs, there is a large deal of overlap (given the common history), so the 'solaris' directory was renamed to 'solarish' (it's the closest thing to an official term to refer to things descending from Solaris as well as Solaris). There were also a number of missing definitions (as well as a couple missing functions) that have proved necessary for building a number of rust programs on illumos or Solaris. Portions contributed by @papertigers .
💔 Test failed - checks-travis |
Looks like style is failing: https://travis-ci.com/rust-lang/libc/jobs/176963291#L214 |
@bors: retry |
1 similar comment
@bors: retry |
@bors: r+ |
📌 Commit 821fd8a has been approved by |
Add support for illumos target This change adds support for an illumos os target to libc. Similar to the BSDs, there is a large deal of overlap (given the common history), so the 'solaris' directory was renamed to 'solarish' (it's the closest thing to an official term to refer to things descending from Solaris as well as Solaris). There were also a number of missing definitions (as well as a couple missing functions) that have proved necessary for building a number of rust programs on illumos or Solaris. Portions contributed by @papertigers .
☀️ Test successful - checks-cirrus, checks-travis, status-appveyor |
Thank you! |
With version 0.2.49 tagged, what is required to get the version published to crates.io? It appears that 0.2.48 is still the latest published. |
I just needed to do a |
This change adds support for an illumos os target to libc. Similar to the BSDs, there is a large deal of overlap (given the common history), so the 'solaris' directory was renamed to 'solarish' (it's the closest thing to an official term to refer to things descending from Solaris as well as Solaris). There were also a number of missing definitions (as well as a couple missing functions) that have proved necessary for building a number of rust programs on illumos or Solaris.
Portions contributed by @papertigers .