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

Rollup of PRs in the queue; Thursday #23298

Merged
merged 33 commits into from
Mar 12, 2015
Merged

Rollup of PRs in the queue; Thursday #23298

merged 33 commits into from
Mar 12, 2015

Conversation

Manishearth
Copy link
Member

No description provided.

Julian Orth and others added 30 commits February 24, 2015 22:46
These new APIs have had some time to bake now, and no pressing issues have come
up so they should be ok for stabilizing. Specifically, these two APIs were
stabilized:

* `slice::from_raw_parts`
* `slice::from_raw_parts_mut`
Markdown requires a newline before bullet points, and since there's not one here, they'll get rendered incorrectly
 * Consumers of handle_options assume the unstable options are defined in
   the getopts::Matches value if -Z unstable-options is set, but that's not
   the case if there weren't any actual unstable options. Fix this by
   always reparsing options when -Z unstable-options is set.

 * If both argument parsing attempts fail, print the error from the second
   attempt rather than the first. The error from the first is very poor
   whenever unstable options are present. e.g.:

       $ rustc hello.rs -Z unstable-options --show-span
       error: Unrecognized option: 'show-span'.
       $ rustc hello.rs -Z unstable-options --pretty --pretty
       error: Unrecognized option: 'pretty'.
       $ rustc hello.rs -Z unstable-options --pretty --bad-option
       error: Unrecognized option: 'pretty'.

 * On the second parse, add a separate pass to reject unstable options if
   -Z unstable-options wasn't specified.

Fixes rust-lang#21715.
r? @pnkfelix
 it turns out that jemalloc doesn't behave well on bitrig.  with jemalloc enabled i get some kernel errors related to sbrk failures.  with jemalloc disabled, the errors go away.  i am investigating, but in the mean time, we should just disable jemalloc by default on bitrig.
 configure: have --enable-debug set -C debug-assertions=on so `debug!()` works again
…ts, r=brson

 These new APIs have had some time to bake now, and no pressing issues have come
up so they should be ok for stabilizing. Specifically, these two APIs were
stabilized:

* `slice::from_raw_parts`
* `slice::from_raw_parts_mut`
 Markdown requires a newline before bullet points, and since there's not one here, they'll get rendered incorrectly
  * Consumers of handle_options assume the unstable options are defined in
   the getopts::Matches value if -Z unstable-options is set, but that's not
   the case if there weren't any actual unstable options. Fix this by
   always reparsing options when -Z unstable-options is set.

 * If both argument parsing attempts fail, print the error from the second
   attempt rather than the first. The error from the first is very poor
   whenever unstable options are present. e.g.:

       $ rustc hello.rs -Z unstable-options --show-span
       error: Unrecognized option: 'show-span'.
       $ rustc hello.rs -Z unstable-options --pretty --pretty
       error: Unrecognized option: 'pretty'.
       $ rustc hello.rs -Z unstable-options --pretty --bad-option
       error: Unrecognized option: 'pretty'.

 * On the second parse, add a separate pass to reject unstable options if
   -Z unstable-options wasn't specified.

Fixes rust-lang#21715.
r? @pnkfelix
@Manishearth
Copy link
Member Author

r? @Manishearth

@Manishearth
Copy link
Member Author

@bors: r+ rollup force

@bors
Copy link
Contributor

bors commented Mar 12, 2015

@bors r=Manishearth 419c0ff

@Manishearth
Copy link
Member Author

@bors: p=20

@Manishearth
Copy link
Member Author

@bors: rollup-

@Manishearth
Copy link
Member Author

@bors: p=20 force

@bors
Copy link
Contributor

bors commented Mar 12, 2015

⌛ Testing commit 419c0ff with merge 8715a65...

bors added a commit that referenced this pull request Mar 12, 2015
@bors bors merged commit 419c0ff into rust-lang:master Mar 12, 2015
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet