This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
e30d27be00
rust
/
tests
/
run-make
/
mismatching-target-triples
/
foo.rs
4 lines
56 B
Rust
Raw
Normal View
History
Unescape
Escape
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-07-29 19:01:14 -05:00
#![
feature(no_core)
]
#![
no_core
]
Tweak and add test for detecting libraries with mismatching target triples. Closes #10814.
2014-11-10 04:52:55 -06:00
#![
crate_type =
"
lib
"
]
Reference in New Issue
Copy Permalink