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

Don't look for old RUSTC_DEBUGINFO vars #313

Merged
merged 1 commit into from
Apr 30, 2020

Conversation

tmandry
Copy link
Member

@tmandry tmandry commented Apr 30, 2020

This was causing libbacktrace to be built without debuginfo when I had debuginfo enabled in the rust build.

As far as I can tell, these aren't used anymore; they don't appear in rust-lang/rust. The only var that remains in bootstrap is RUSTC_DEBUGINFO_MAP.

Instead, using the DEBUG environment variable like normal crates do appears to be correct, so no special handling is needed anymore. I verified this works on a local rustc build.

@alexcrichton alexcrichton merged commit 0b2b800 into rust-lang:master Apr 30, 2020
@tmandry tmandry deleted the patch-1 branch April 30, 2020 15:17
@tmandry
Copy link
Member Author

tmandry commented Apr 30, 2020

@alexcrichton Would you mind bumping the version of backtrace-sys? I can't release the crate but I'm happy to do the upgrade in rustc.

@alexcrichton
Copy link
Member

Sure thing, done now!

@tmandry
Copy link
Member Author

tmandry commented Apr 30, 2020

@alexcrichton sorry, but I don't see a new version bump anywhere?

@alexcrichton
Copy link
Member

Er sorry forgot to push the commit, but 0.1.37 of backtrace-sys should be on crates.io. Also just pushed the commit.

@tmandry
Copy link
Member Author

tmandry commented Apr 30, 2020

ah okay I forgot to check crates.io. Thanks!!

tmandry added a commit to tmandry/rust that referenced this pull request Apr 30, 2020
Diff:

- Don't look for old RUSTC_DEBUGINFO vars (rust-lang/backtrace-rs#313)
tmandry added a commit to tmandry/rust that referenced this pull request Apr 30, 2020
…k-Simulacrum

Update backtrace-sys

Diff:

- Don't look for old RUSTC_DEBUGINFO vars (rust-lang/backtrace-rs#313)

This fixes an issue of libbacktrace never being built with debuginfo.

r? @Mark-Simulacrum
cc @alexcrichton
Mark-Simulacrum pushed a commit to Mark-Simulacrum/rust that referenced this pull request Jun 12, 2020
Diff:

- Don't look for old RUSTC_DEBUGINFO vars (rust-lang/backtrace-rs#313)
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