Skip to content
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

Add libc definitions for HermitCore (https://hermitcore.org) #1048

Merged
merged 2 commits into from
Aug 1, 2018

Conversation

ColinFinck
Copy link
Contributor

HermitCore is based on lwIP, newlib, and pthread-embedded.
Some definitions are similar to other targets using newlib, however some are different enough to justify an own "hermit" port and not base on the existing "newlib" port.

HermitCore is based on lwIP, newlib, and pthread-embedded.
@rust-highfive
Copy link

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.

@alexcrichton
Copy link
Member

Looks great to me, thanks! I think the style check on CI is getting tripped up, but if that gets fixed I'll r+!

@ColinFinck
Copy link
Contributor Author

@alexcrichton Thanks for the prompt reply! I've fixed the coding style.

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Jul 31, 2018

📌 Commit 086bdf9 has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Jul 31, 2018

⌛ Testing commit 086bdf9 with merge a004913...

bors added a commit that referenced this pull request Jul 31, 2018
Add libc definitions for HermitCore (https://hermitcore.org)

HermitCore is based on lwIP, newlib, and pthread-embedded.
Some definitions are similar to other targets using newlib, however some are different enough to justify an own "hermit" port and not base on the existing "newlib" port.
@bors
Copy link
Contributor

bors commented Jul 31, 2018

💥 Test timed out

@alexcrichton
Copy link
Member

@bors: retry

@bors
Copy link
Contributor

bors commented Jul 31, 2018

⌛ Testing commit 086bdf9 with merge a9d1136...

bors added a commit that referenced this pull request Jul 31, 2018
Add libc definitions for HermitCore (https://hermitcore.org)

HermitCore is based on lwIP, newlib, and pthread-embedded.
Some definitions are similar to other targets using newlib, however some are different enough to justify an own "hermit" port and not base on the existing "newlib" port.
@bors
Copy link
Contributor

bors commented Jul 31, 2018

💥 Test timed out

@alexcrichton
Copy link
Member

@bors: retry

er... sorry about that!

@bors
Copy link
Contributor

bors commented Jul 31, 2018

⌛ Testing commit 086bdf9 with merge 86a9e12...

bors added a commit that referenced this pull request Jul 31, 2018
Add libc definitions for HermitCore (https://hermitcore.org)

HermitCore is based on lwIP, newlib, and pthread-embedded.
Some definitions are similar to other targets using newlib, however some are different enough to justify an own "hermit" port and not base on the existing "newlib" port.
@bors
Copy link
Contributor

bors commented Jul 31, 2018

💔 Test failed - status-travis

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Jul 31, 2018
Add targets for HermitCore (https://hermitcore.org) to the Rust compiler and port libstd to it.

As a start, the port uses the simplest possible configuration (no jemalloc, abort on panic) and makes use of existing Unix-specific code wherever possible.
It adds targets for x86_64 (current main HermitCore platform) and aarch64 (HermitCore platform under development).

Together with the patches to "liblibc" (rust-lang/libc#1048) and llvm (rust-lang/llvm#122), this enables HermitCore applications to be written in Rust.
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Aug 1, 2018
Add targets for HermitCore (https://hermitcore.org) to the Rust compiler and port libstd to it.

As a start, the port uses the simplest possible configuration (no jemalloc, abort on panic) and makes use of existing Unix-specific code wherever possible.
It adds targets for x86_64 (current main HermitCore platform) and aarch64 (HermitCore platform under development).

Together with the patches to "liblibc" (rust-lang/libc#1048) and llvm (rust-lang/llvm#122), this enables HermitCore applications to be written in Rust.
pietroalbini added a commit to pietroalbini/rust that referenced this pull request Aug 1, 2018
Add targets for HermitCore (https://hermitcore.org) to the Rust compiler and port libstd to it.

As a start, the port uses the simplest possible configuration (no jemalloc, abort on panic) and makes use of existing Unix-specific code wherever possible.
It adds targets for x86_64 (current main HermitCore platform) and aarch64 (HermitCore platform under development).

Together with the patches to "liblibc" (rust-lang/libc#1048) and llvm (rust-lang/llvm#122), this enables HermitCore applications to be written in Rust.
@alexcrichton
Copy link
Member

@bors: retry

@bors
Copy link
Contributor

bors commented Aug 1, 2018

⌛ Testing commit 086bdf9 with merge 7b45a7c...

bors added a commit that referenced this pull request Aug 1, 2018
Add libc definitions for HermitCore (https://hermitcore.org)

HermitCore is based on lwIP, newlib, and pthread-embedded.
Some definitions are similar to other targets using newlib, however some are different enough to justify an own "hermit" port and not base on the existing "newlib" port.
@bors
Copy link
Contributor

bors commented Aug 1, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 7b45a7c to master...

@bors bors merged commit 086bdf9 into rust-lang:master Aug 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants