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

Add a module to getopts for verbose option group declaration (and use it in rustc) #3739

Merged
merged 1 commit into from
Oct 17, 2012

Conversation

killerswan
Copy link
Contributor

This is built on top of existing functionality, but adds a module which allows the user to specify whole short/long/description groups at once and provides a usage message.

Tests pass on incoming with CFG_DISABLE_VALGRIND=1 make check.

@killerswan
Copy link
Contributor Author

I'll push a patch in a few minutes which renames the module to groups and the type to OptGroup

@killerswan
Copy link
Contributor Author

About to push another patch with an extra test, rebased off the latest incoming...

@catamorphism
Copy link
Contributor

Looks good overall. I'll merge if you fix the few nits that I pointed out. Thanks!

This is built on top of the existing functionality, but
adds a `groups` module which defines functions allowing
the user to specify whole short/long/description groups
at once and provides a usage message.
@killerswan
Copy link
Contributor Author

(Running the tests now...)

catamorphism added a commit that referenced this pull request Oct 17, 2012
Add a module to getopts for verbose option group declaration (and use it in rustc)
@catamorphism catamorphism merged commit 33adb7a into rust-lang:incoming Oct 17, 2012
@catamorphism
Copy link
Contributor

Thanks!

bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 31, 2024
fix: Goto implementation to impls inside blocks

Fixes rust-lang#3739
RalfJung pushed a commit to RalfJung/rust that referenced this pull request Jul 14, 2024
Implement support for multiple TLS destructors on macOS

I want to get rid of [this `#[cfg]` block](https://github.com/rust-lang/rust/blob/98dcbae5c9ac615d5acfbf42d42b19a77cb9ec11/library/std/src/thread/mod.rs#L195-L211) in `std`, but it is currently required for miri, as it does not support multiple macOS TLS destructors. This is not true for the platform itself, however, as can be observed in the [implementation](https://github.com/apple-oss-distributions/dyld/blob/d552c40cd1de105f0ec95008e0e0c0972de43456/dyld/DyldRuntimeState.cpp#L2239).
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