Skip to content

Move rustrt::last_os_error into core#4859

Closed
luqmana wants to merge 2 commits into
rust-lang:incomingfrom
luqmana:last_error
Closed

Move rustrt::last_os_error into core#4859
luqmana wants to merge 2 commits into
rust-lang:incomingfrom
luqmana:last_error

Conversation

@luqmana

@luqmana luqmana commented Feb 9, 2013

Copy link
Copy Markdown
Contributor

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

brson commented Feb 10, 2013

Copy link
Copy Markdown
Contributor

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

r-

@luqmana

luqmana commented Feb 11, 2013

Copy link
Copy Markdown
Contributor Author

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.
RalfJung added a commit to RalfJung/rust that referenced this pull request Feb 16, 2026
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