about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-10-06 16:29:47 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-10-09 09:44:51 -0700
commitab5935c88d259d511561ccb4177bb6924dab4a06 (patch)
treef23ddc5fb8733a5eeb5f3fbac06b99159139687e /src/libsyntax
parentd9874bfb4079876dabc092c035d99b2d5b7f8a1c (diff)
downloadrust-ab5935c88d259d511561ccb4177bb6924dab4a06.tar.gz
rust-ab5935c88d259d511561ccb4177bb6924dab4a06.zip
std: Convert statics to constants
This commit repurposes most statics as constants in the standard library itself,
with the exception of TLS keys which precisely have their own memory location as
an implementation detail.

This commit also rewrites the bitflags syntax to use `const` instead of
`static`. All invocations will need to replace the word `static` with `const`
when declaring flags.

Due to the modification of the `bitflags!` syntax, this is a:

[breaking-change]
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions