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

Fix build scripts and panic=abort #2730

Merged
merged 1 commit into from
May 23, 2016

Conversation

alexcrichton
Copy link
Member

Build scripts were apparently always compiled with the "dev" profile rather than
the standard "match whatever the normal build was" profile, which meant that if
dev/release disagreed on panic=abort you'd get compile errors. Seems bad!

This commit fixes this by just having build scripts always compile with the same
profile as libraries (for now), as this was the original intention anyway.

Closes #2726

Build scripts were apparently always compiled with the "dev" profile rather than
the standard "match whatever the normal build was" profile, which meant that if
dev/release disagreed on panic=abort you'd get compile errors. Seems bad!

This commit fixes this by just having build scripts always compile with the same
profile as libraries (for now), as this was the original intention anyway.

Closes rust-lang#2726
@rust-highfive
Copy link

r? @wycats

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

@alexcrichton
Copy link
Member Author

@bors: r+

@bors
Copy link
Collaborator

bors commented May 23, 2016

📌 Commit 183c59c has been approved by alexcrichton

@bors
Copy link
Collaborator

bors commented May 23, 2016

⌛ Testing commit 183c59c with merge ca743f3...

bors added a commit that referenced this pull request May 23, 2016
…excrichton

Fix build scripts and panic=abort

Build scripts were apparently always compiled with the "dev" profile rather than
the standard "match whatever the normal build was" profile, which meant that if
dev/release disagreed on panic=abort you'd get compile errors. Seems bad!

This commit fixes this by just having build scripts always compile with the same
profile as libraries (for now), as this was the original intention anyway.

Closes #2726
@bors
Copy link
Collaborator

bors commented May 23, 2016

💔 Test failed - cargo-mac-32

@alexcrichton
Copy link
Member Author

@bors: retry

On Mon, May 23, 2016 at 2:03 PM, bors notifications@github.com wrote:

💔 Test failed - cargo-mac-32
http://buildbot.rust-lang.org/builders/cargo-mac-32/builds/1633


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#2730 (comment)

@bors
Copy link
Collaborator

bors commented May 23, 2016

⚡ Previous build results for cargo-linux-32, cargo-linux-64, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64 are reusable. Rebuilding only cargo-cross-linux, cargo-mac-32...

@bors
Copy link
Collaborator

bors commented May 23, 2016

@bors bors merged commit 183c59c into rust-lang:master May 23, 2016
@alexcrichton alexcrichton deleted the fix-panic-abort-build-script branch May 25, 2016 05:21
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.

Cannot build project with 'panic = abort'
4 participants