Skip to content

Move rustrt::last_os_error into core #4859

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

Closed
wants to merge 2 commits into from

Conversation

luqmana
Copy link
Member

@luqmana luqmana commented Feb 9, 2013

No need for it to be in written anew in rustrt since LLVM already provides a platform independent way of getting the error string. This pull request just makes it available in core::os.

So that's one less helper function in rustrt. (#4812)

@brson
Copy link
Contributor

brson commented Feb 10, 2013

This gives core a dependency on llvm. Right now only rustc has that dependency.

r-

@luqmana
Copy link
Member Author

luqmana commented Feb 11, 2013

Alright. Well option 2 now.

@luqmana luqmana closed this Feb 11, 2013
bors added a commit that referenced this pull request Feb 13, 2013
Rewrote the last pull request (#4859) to not require on llvm for core.

Also fixes #2269.
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