-
Notifications
You must be signed in to change notification settings - Fork 253
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
Various cleanups #673
Various cleanups #673
Conversation
match Error::last_os_error().raw_os_error() { | ||
Some(libc::ENOMEM) => { | ||
match errno() { | ||
libc::ENOMEM => { |
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.
Not really sure if I should keep this change. If you want I will drop this commit.
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.
seems fine to me.
Just noticed that #666 also did most of the changes in this PR. Will rebase once that PR os merged. |
@bjorn3 rebase please? |
Also avoids two unnecessary allocations in handle_split_dwarf.
Code size changes for a hello-world Rust program linked with libstd with backtrace: On platform
|
fab120c
to
62c5764
Compare
Code size changes for a hello-world Rust program linked with libstd with backtrace: On platform
|
handle_split_dwarf
.