diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-10-02 18:10:16 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-10-05 20:19:33 -0700 |
| commit | dd98f7089fec5ee8bc908089bcb89c6e352d8726 (patch) | |
| tree | 2cf633494514e1976e7e1131b994e2b7e6038a11 /src/libstd/std.rs | |
| parent | acf9783879dca0db0721c10ac79c9078f2dec425 (diff) | |
| download | rust-dd98f7089fec5ee8bc908089bcb89c6e352d8726.tar.gz rust-dd98f7089fec5ee8bc908089bcb89c6e352d8726.zip | |
Implement feature-gating for the compiler
A few features are now hidden behind various #[feature(...)] directives. These include struct-like enum variants, glob imports, and macro_rules! invocations. Closes #9304 Closes #9305 Closes #9306 Closes #9331
Diffstat (limited to 'src/libstd/std.rs')
| -rw-r--r-- | src/libstd/std.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/std.rs b/src/libstd/std.rs index 5501cdfdcd5..53837f96593 100644 --- a/src/libstd/std.rs +++ b/src/libstd/std.rs @@ -61,6 +61,8 @@ they contained the following prologue: html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_root_url = "http://static.rust-lang.org/doc/master")]; +#[feature(macro_rules, globs)]; + // Don't link to std. We are std. #[no_std]; |
