Skip to content
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

Attempt to improve backtraces from the Rust side. #393

Merged
merged 2 commits into from
Aug 11, 2023

Conversation

ryanmcgrath
Copy link
Collaborator

Attempt to improve backtraces from the Rust side.

  • Auto-set RUST_BACKTRACE=full in the logger initialization, since
    that's the first thing on the Rust side that ever gets initialized.

  • Added a .cargo/config.toml that passes an extra flag to the compiler
    that should retain unwind tables, which are helpful for getting
    backtraces.

There may be other things we want to do here but figured this is a decent start/this PR could be a tracking issue for testing.

ryanmcgrath and others added 2 commits August 9, 2023 14:27
- We auto-set `RUST_BACKTRACE=full` in the logger initialization, since
  that's the first thing on the Rust side that ever gets initialized.

- Added a `.cargo/config.toml` that passes an extra flag to the compiler
  that should retain unwind tables, which are helpful for getting
  backtraces
@JLaferri JLaferri merged commit 2630dcf into project-slippi:slippi Aug 11, 2023
@JLaferri JLaferri deleted the fix/rust-backtraces branch August 11, 2023 00:45
rapito pushed a commit to rapito/Ishiiruka that referenced this pull request Aug 31, 2023
- We auto-set `RUST_BACKTRACE=full` in the logger initialization, since
  that's the first thing on the Rust side that ever gets initialized.

- Added a `.cargo/config.toml` that passes an extra flag to the compiler
  that should retain unwind tables, which are helpful for getting
  backtraces

Co-authored-by: Jas Laferriere <Fizzi36@gmail.com>
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.

2 participants