Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Implement filtering behaviour like RUST_BACKTRACE=short #38

Closed
jdm opened this issue Mar 16, 2017 · 4 comments
Closed

Implement filtering behaviour like RUST_BACKTRACE=short #38

jdm opened this issue Mar 16, 2017 · 4 comments

Comments

@jdm
Copy link
Contributor

jdm commented Mar 16, 2017

rust-lang/rust#38165 looks really nice for default backtrace behaviour for panics. We should make it easy to obtain similar output from this library, too!

@fitzgen
Copy link
Member

fitzgen commented Mar 16, 2017

cc @Yamakaky

@Yamakaky
Copy link

I was thinking maybe we could stabilize a std::sys::backtrace module (name to be discussed). That way it would be easier for third-party tools to use the exact same code. Another solution would be to move the compiler code to a new crate just for backtrace handling.

See also rust-lang/rust#40264.

@alexcrichton
Copy link
Member

Sounds reasonable to me!

I don't think we should stabilize a module in std

@alexcrichton
Copy link
Member

Implemented in #245

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants