about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-12-16 09:24:08 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-12-21 22:05:37 -0800
commit617a7af70400c7a3f82fafcb50daf01f01db95a0 (patch)
tree7d6e3b7b770d47e2eb670d1e050c347852b310d7 /src/libstd/sys/unix/stack_overflow.rs
parentb67b5a8d0149096712e75336f6aa32daffcaa42d (diff)
downloadrust-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