rust/src/libstd
Alex Crichton 5cccf3cd25 syntax: Implement #![no_core]
This commit is an implementation of [RFC 1184][rfc] which tweaks the behavior of
the `#![no_std]` attribute and adds a new `#![no_core]` attribute. The
`#![no_std]` attribute now injects `extern crate core` at the top of the crate
as well as the libcore prelude into all modules (in the same manner as the
standard library's prelude). The `#![no_core]` attribute disables both std and
core injection.

[rfc]: https://github.com/rust-lang/rfcs/pull/1184
2015-08-03 17:23:01 -07:00
..
collections Show appropriate feature flags in docs 2015-07-27 12:28:13 -04:00
ffi syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
io syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
net syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
num syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
os Fixes #25155 and fixes #27359 by fixing the stat defines for both freebsd 10.1 x86_64 and i686 2015-07-28 11:10:23 -07:00
prelude Address feedback 2015-07-13 18:38:00 -07:00
rand syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
rt syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
sync syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
sys syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
thread syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
time syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
ascii.rs Rollup merge of #27326 - steveklabnik:doc_show_use, r=Gankro 2015-07-29 10:30:34 -04:00
dynamic_lib.rs Add netbsd amd64 support 2015-07-01 19:09:14 -07:00
env.rs std: Deprecate a number of unstable features 2015-07-27 16:38:25 -07:00
error.rs std: Stabilize a number of small APIs 2015-07-28 16:34:01 -07:00
fs.rs syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
lib.rs syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
macros.rs Show appropriate feature flags in docs 2015-07-27 12:28:13 -04:00
panicking.rs Fix logic in panic printing with no stderr 2015-06-20 19:54:15 -07:00
path.rs syntax: Implement #![no_core] 2015-08-03 17:23:01 -07:00
primitive_docs.rs Show appropriate feature flags in docs 2015-07-27 12:28:13 -04:00
process.rs Auto merge of #27370 - alexcrichton:stabilize-easy, r=brson 2015-07-31 02:57:34 +00:00
rtdeps.rs Auto merge of #26741 - alexcrichton:noinline-destructors, r=brson 2015-07-06 19:49:16 +00:00
thunk.rs std: Deprecate the thunk module 2015-06-17 09:07:17 -07:00