Skip to content

Conversation

@richo
Copy link
Contributor

@richo richo commented Apr 14, 2015

Optimization is now on by default. Closes #24405

@rust-highfive
Copy link
Contributor

r? @brson

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

@richo
Copy link
Contributor Author

richo commented Apr 14, 2015

@rust-highfive rust-highfive assigned pnkfelix and unassigned brson Apr 14, 2015
@pnkfelix
Copy link
Contributor

@richo my goal was to preserve the spirit of the original change, under which --enable-debug on its own would indeed disable optimizations, and only change the behavior when one passes both --enable-debug and --enable-optimize.

(However. perhaps this is misguided, and we should simply just do what you suggest here.)

@richo
Copy link
Contributor Author

richo commented Apr 14, 2015

Ah. I pondered that for a while, and wound up concluding that optimizations are now the default state. That seems reasonable to me though, will update the patch.

@pnkfelix
Copy link
Contributor

@richo well, TBH now I am torn too. I'm going to go ask for opinions in #rust-internals.

richo added 2 commits April 14, 2015 00:58
This allows you to distinguish between an option that defaulted, and an option selected by the user
@pnkfelix
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Apr 14, 2015

📌 Commit fd69ac1 has been approved by pnkfelix

@pnkfelix
Copy link
Contributor

@bors p=5

bors added a commit that referenced this pull request Apr 14, 2015
@bors
Copy link
Collaborator

bors commented Apr 14, 2015

⌛ Testing commit fd69ac1 with merge a9d8065...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants