Skip to content

[WIP] fix: Remove debug information from release builds #33

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

Closed
wants to merge 1 commit into from

Conversation

tonyo
Copy link
Contributor

@tonyo tonyo commented Jun 13, 2018

No description provided.

@tonyo tonyo requested a review from mitsuhiko as a code owner June 13, 2018 14:27
@tonyo tonyo changed the title fix: Remove debug information from release builds [WIP] fix: Remove debug information from release builds Jun 13, 2018
@tonyo
Copy link
Contributor Author

tonyo commented Jun 13, 2018

@mitsuhiko I guess we don't really need that debug = true?

@jan-auer
Copy link
Member

Without that, stack traces are not quite as usable. I am wondering though why build times are that high to begin with.

@tonyo tonyo changed the title [WIP] fix: Remove debug information from release builds fix: Remove debug information from release builds Jun 13, 2018
@tonyo
Copy link
Contributor Author

tonyo commented Jun 13, 2018

Is there a chance that we hit one of these?
rust-lang/rust#49402
rust-lang/rust#49467
For some reason we've witnessed build failures only for i686 so far.

@mitsuhiko
Copy link
Contributor

I really want to keep debug info for release builds. I don't think we hit either of the cases linked.

@tonyo
Copy link
Contributor Author

tonyo commented Jun 14, 2018

I can locally reproduce the build failure for i686 with current (1.26.2) and nightly Rust. I suggest to disable those 32-bit builds (for both Linux and Windows) temporarily, so we're not fully blocked by this.

@tonyo tonyo changed the title fix: Remove debug information from release builds [WIP] fix: Remove debug information from release builds Jun 14, 2018
@tonyo tonyo added bug Something isn't working invalid This doesn't seem right labels Jul 5, 2018
@mitsuhiko
Copy link
Contributor

Closing this. We want to keep debug info

@mitsuhiko mitsuhiko closed this Aug 28, 2018
@mitsuhiko mitsuhiko deleted the fix/remove-debug-from-release branch August 28, 2018 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants