diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-12-16 09:24:08 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-12-21 22:05:37 -0800 |
| commit | 617a7af70400c7a3f82fafcb50daf01f01db95a0 (patch) | |
| tree | 7d6e3b7b770d47e2eb670d1e050c347852b310d7 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | b67b5a8d0149096712e75336f6aa32daffcaa42d (diff) | |
| download | rust-617a7af70400c7a3f82fafcb50daf01f01db95a0.tar.gz rust-617a7af70400c7a3f82fafcb50daf01f01db95a0.zip | |
syntax: Respect allow_internal_unstable in macros
This change modifies the feature gating of special `#[cfg]` attributes to not require a `#![feature]` directive in the crate-of-use if the source of the macro was declared with `#[allow_internal_unstable]`. This enables the standard library's macro for `thread_local!` to make use of the `#[cfg(target_thread_local)]` attribute despite it being feature gated (e.g. it's a hidden implementation detail).
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
