diff options
| author | Keegan McAllister <kmcallister@mozilla.com> | 2015-02-05 16:14:42 -0800 |
|---|---|---|
| committer | Keegan McAllister <kmcallister@mozilla.com> | 2015-02-07 10:49:58 -0800 |
| commit | d788588dce5525b2bf5674b0c90c791a70582330 (patch) | |
| tree | e16e924890a8401365911044b158d6de266e4054 /src/doc/reference.md | |
| parent | 67350bc8681d6df212817644cad7c748039a6238 (diff) | |
| download | rust-d788588dce5525b2bf5674b0c90c791a70582330.tar.gz rust-d788588dce5525b2bf5674b0c90c791a70582330.zip | |
Feature-gate #![no_std]
Fixes #21833. [breaking-change]
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 9851e1c28fb..15ae686d965 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -2467,6 +2467,12 @@ The currently implemented features of the reference compiler are: * `associated_types` - Allows type aliases in traits. Experimental. +* `no_std` - Allows the `#![no_std]` crate attribute, which disables the implicit + `extern crate std`. This typically requires use of the unstable APIs + behind the libstd "facade", such as libcore and libcollections. It + may also cause problems when using syntax extensions, including + `#[derive]`. + If a feature is promoted to a language feature, then all existing programs will start to receive compilation warnings about #[feature] directives which enabled the new feature (because the directive is no longer necessary). However, if a |
