]> git.lizzy.rs Git - rust.git/commit
auto merge of #14320 : kballard/rust/fix_stdlib_inject_attrs, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 21 May 2014 16:46:27 +0000 (09:46 -0700)
committerbors <bors@rust-lang.org>
Wed, 21 May 2014 16:46:27 +0000 (09:46 -0700)
commit96670e9723025b1af8f38e08b87f58961b88f813
tree6d5f531f8eae35459d783eb10e70f613d2d0905d
parent803e92de89def55197244269a5d1feffa00c93d9
parent23ca66ecd2e10d0c6de2e3a657f58f6db35d0a9a
auto merge of #14320 : kballard/rust/fix_stdlib_inject_attrs, r=alexcrichton

The #[phase(syntax,link)] attribute on `extern crate std` needs to be an
outer attribute so it can pretty-print properly.

Also add `#![no_std]` and `#[feature(phase)]` so compiling the
pretty-printed source will work.
src/librustc/metadata/encoder.rs
src/librustc/middle/trans/base.rs