about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-06-23 19:22:51 -0700
committerGitHub <noreply@github.com>2016-06-23 19:22:51 -0700
commit4d9faf363282e37b4da7dac01fe3c18f8f2025bf (patch)
tree2cbcf20445716f5013fcb247ff7d856f3db8e493 /src/libstd/sys
parentad7fe6521b8a59d84102113ad660edb21de2cba6 (diff)
parentfc28ee256a851b4274a2f8c8f776197f81bc7f07 (diff)
downloadrust-4d9faf363282e37b4da7dac01fe3c18f8f2025bf.tar.gz
rust-4d9faf363282e37b4da7dac01fe3c18f8f2025bf.zip
Auto merge of #34077 - durka:patch-23, r=alexcrichton
upgrade thread_local! invocation syntax

Allows declaring multiple statics in one macro invocation, and supports attaching attributes to the generated items. In particular, `#![forbid(missing_docs, unused)]` is now tenable on a crate/module containing thread locals.

For an example see [here](https://is.gd/aVFZZF). This change is fully backwards compatible as far as I can tell.

cc @frankmcsherry
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions