Skip to content

Refactor unix backtracing. NFC #27912

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

Merged
merged 3 commits into from
Aug 23, 2015

Conversation

DiamondLovesYou
Copy link
Contributor

No description provided.

@rust-highfive
Copy link
Contributor

r? @huonw

(rust_highfive has picked a reviewer for you, use r? to override)

@tamird
Copy link
Contributor

tamird commented Aug 20, 2015

Is all of this code movement?


// tracing impls:
#[cfg(not(all(target_os = "ios", target_arch = "arm")))] mod gcc_s;
#[cfg(all(target_os = "ios", target_arch = "arm"))] mod libbacktrace;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this module would be more appropriately named as something like unix_backtrace or backtrace_fn as libbacktrace is different from the backtrace function in libc.

Also, can this use #[path = "..."] and mod imp; for both cases to avoid having the same #[cfg] for the import and the module declaration?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@DiamondLovesYou DiamondLovesYou force-pushed the backtrace-refactor branch 2 times, most recently from 9ca1ea8 to 7925c79 Compare August 20, 2015 20:20
@huonw
Copy link
Member

huonw commented Aug 20, 2015

r? @alexcrichton (transferring ownership)

@rust-highfive rust-highfive assigned alexcrichton and unassigned huonw Aug 20, 2015
@alexcrichton
Copy link
Member

@bors: r+ 7925c79

@bors
Copy link
Collaborator

bors commented Aug 22, 2015

⌛ Testing commit 7925c79 with merge 85901fb...

@bors
Copy link
Collaborator

bors commented Aug 22, 2015

💔 Test failed - auto-mac-64-opt

@DiamondLovesYou
Copy link
Contributor Author

Fixed (I think; I don't have a mac to test locally).

@alexcrichton
Copy link
Member

@bors: r+

On Sat, Aug 22, 2015 at 9:54 AM Richard Diamond [email protected]
wrote:

Fixed (I think; I don't have a mac to test locally).


Reply to this email directly or view it on GitHub
#27912 (comment).

@bors
Copy link
Collaborator

bors commented Aug 22, 2015

📌 Commit 6cbef95 has been approved by alexcrichton

@bors
Copy link
Collaborator

bors commented Aug 22, 2015

⌛ Testing commit 6cbef95 with merge 332ecc7...

@bors
Copy link
Collaborator

bors commented Aug 22, 2015

💔 Test failed - auto-mac-64-opt

@DiamondLovesYou
Copy link
Contributor Author

Fixed.

@alexcrichton
Copy link
Member

@bors: r+ deff878

bors added a commit that referenced this pull request Aug 23, 2015
@bors
Copy link
Collaborator

bors commented Aug 23, 2015

⌛ Testing commit deff878 with merge 054b7b7...

@bors bors merged commit deff878 into rust-lang:master Aug 23, 2015
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.

6 participants