diff options
| author | awlnx <alecweber1994@gmail.com> | 2015-03-05 11:53:51 -0500 |
|---|---|---|
| committer | awlnx <alecweber1994@gmail.com> | 2015-03-05 11:53:51 -0500 |
| commit | 951ef9d1f105984383b9795c56f7ab8fdd681b63 (patch) | |
| tree | 07f8991d6e07970ca2a34e9666d00217110b0680 /src/libgetopts | |
| parent | b4c965ee803a4521d8b4575f634e036f93e408f3 (diff) | |
fix for new attributes failing. issue #22964
Diffstat (limited to 'src/libgetopts')
| -rw-r--r-- | src/libgetopts/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libgetopts/lib.rs b/src/libgetopts/lib.rs index 6240b0e6afd..c33c48476d5 100644 --- a/src/libgetopts/lib.rs +++ b/src/libgetopts/lib.rs @@ -77,6 +77,9 @@ //! } //! ``` + +// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364) +#![cfg_attr(stage0, feature(custom_attribute))] #![crate_name = "getopts"] #![unstable(feature = "rustc_private", reason = "use the crates.io `getopts` library instead")] |
