Update to 0.11.0
This commit is contained in:
parent
1fefa5b514
commit
aa1163b92d
@ -1,4 +1,4 @@
|
||||
.TH RUSTC "1" "March 2014" "rustc 0.11-pre" "User Commands"
|
||||
.TH RUSTC "1" "March 2014" "rustc 0.11.0" "User Commands"
|
||||
.SH NAME
|
||||
rustc \- The Rust compiler
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH RUSTDOC "1" "March 2014" "rustdoc 0.11-pre" "User Commands"
|
||||
.TH RUSTDOC "1" "March 2014" "rustdoc 0.11.0" "User Commands"
|
||||
.SH NAME
|
||||
rustdoc \- generate documentation from Rust source code
|
||||
.SH SYNOPSIS
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
# The version number
|
||||
CFG_RELEASE_NUM=0.11.0
|
||||
CFG_RELEASE_LABEL=-pre
|
||||
CFG_RELEASE_LABEL=
|
||||
|
||||
ifndef CFG_ENABLE_NIGHTLY
|
||||
# This is the normal version string
|
||||
|
@ -53,12 +53,12 @@ To generate .pot and .po files, do something like:
|
||||
~~~~
|
||||
po4a --copyright-holder="The Rust Project Developers" \
|
||||
--package-name="Rust" \
|
||||
--package-version="0.11.0-pre" \
|
||||
--package-version="0.11.0" \
|
||||
-M UTF-8 -L UTF-8 \
|
||||
src/doc/po4a.conf
|
||||
~~~~
|
||||
|
||||
(the version number must be changed if it is not 0.11.0-pre now.)
|
||||
(the version number must be changed if it is not 0.11.0 now.)
|
||||
|
||||
Now you can translate documents with .po files, commonly used with gettext. If
|
||||
you are not familiar with gettext-based translation, please read the online
|
||||
|
@ -53,7 +53,7 @@ an uninstall option.
|
||||
|
||||
You can re-run this script any time you want to update Rust. Which, at this
|
||||
point, is often. Rust is still pre-1.0, and so people assume that you're using
|
||||
a very recent Rust.
|
||||
a very recent Rust.
|
||||
|
||||
This brings me to one other point: some people, and somewhat rightfully so, get
|
||||
very upset when we tell you to `curl | sudo sh`. And they should be! Basically,
|
||||
@ -168,7 +168,7 @@ Success! Let's go over what just happened in detail.
|
||||
|
||||
```
|
||||
fn main() {
|
||||
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
@ -394,7 +394,7 @@ Once you have this file in place, we should be ready to build! Try this:
|
||||
```{bash}
|
||||
$ cargo build
|
||||
Compiling hello_world v0.1.0 (file:/home/yourname/projects/hello_world)
|
||||
$ ./target/hello_world
|
||||
$ ./target/hello_world
|
||||
Hello, world!
|
||||
```
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
<!ENTITY rustIdent "[a-zA-Z_][a-zA-Z_0-9]*">
|
||||
<!ENTITY rustIntSuf "([iu](8|16|32|64)?)?">
|
||||
]>
|
||||
<language name="Rust" version="0.11.0-pre" kateversion="2.4" section="Sources" extensions="*.rs" mimetype="text/x-rust" priority="15">
|
||||
<language name="Rust" version="0.11.0" kateversion="2.4" section="Sources" extensions="*.rs" mimetype="text/x-rust" priority="15">
|
||||
<highlighting>
|
||||
<list name="fn">
|
||||
<item> fn </item>
|
||||
|
@ -60,7 +60,7 @@
|
||||
//! by libc malloc/free. The `libc_heap` module is defined to be wired up to
|
||||
//! the system malloc/free.
|
||||
|
||||
#![crate_id = "alloc#0.11.0-pre"]
|
||||
#![crate_id = "alloc#0.11.0"]
|
||||
#![experimental]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![crate_type = "rlib"]
|
||||
|
@ -19,14 +19,14 @@
|
||||
//! arena but can only hold objects of a single type, and Arena, which is a
|
||||
//! more complex, slower Arena which can hold objects of any type.
|
||||
|
||||
#![crate_id = "arena#0.11.0-pre"]
|
||||
#![crate_id = "arena#0.11.0"]
|
||||
#![experimental]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/")]
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/")]
|
||||
|
||||
#![feature(unsafe_destructor)]
|
||||
#![allow(missing_doc)]
|
||||
|
@ -12,13 +12,13 @@
|
||||
* Collection types.
|
||||
*/
|
||||
|
||||
#![crate_id = "collections#0.11.0-pre"]
|
||||
#![crate_id = "collections#0.11.0"]
|
||||
#![experimental]
|
||||
#![crate_type = "rlib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
|
||||
#![feature(macro_rules, managed_boxes, default_type_params, phase, globs)]
|
||||
|
@ -45,13 +45,13 @@
|
||||
//! function; it is only required to never return.
|
||||
//!
|
||||
|
||||
#![crate_id = "core#0.11.0-pre"]
|
||||
#![crate_id = "core#0.11.0"]
|
||||
#![experimental]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![crate_type = "rlib"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
|
||||
#![no_std]
|
||||
|
@ -16,14 +16,14 @@
|
||||
//! Additionally, it is not guaranteed that functionality such as reflection
|
||||
//! will persist into the future.
|
||||
|
||||
#![crate_id = "debug#0.11.0-pre"]
|
||||
#![crate_id = "debug#0.11.0"]
|
||||
#![experimental]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/")]
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/")]
|
||||
#![experimental]
|
||||
#![feature(managed_boxes, macro_rules)]
|
||||
#![allow(experimental)]
|
||||
|
@ -18,14 +18,14 @@ Simple [DEFLATE][def]-based compression. This is a wrapper around the
|
||||
|
||||
*/
|
||||
|
||||
#![crate_id = "flate#0.11.0-pre"]
|
||||
#![crate_id = "flate#0.11.0"]
|
||||
#![experimental]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/")]
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/")]
|
||||
#![feature(phase)]
|
||||
|
||||
#[cfg(test)] #[phase(plugin, link)] extern crate log;
|
||||
|
@ -14,7 +14,7 @@
|
||||
//! Parsing does not happen at runtime: structures of `std::fmt::rt` are
|
||||
//! generated instead.
|
||||
|
||||
#![crate_id = "fmt_macros#0.11.0-pre"]
|
||||
#![crate_id = "fmt_macros#0.11.0"]
|
||||
#![experimental]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![crate_type = "rlib"]
|
||||
|
@ -39,14 +39,14 @@ fn main() {
|
||||
|
||||
*/
|
||||
|
||||
#![crate_id = "fourcc#0.11.0-pre"]
|
||||
#![crate_id = "fourcc#0.11.0"]
|
||||
#![experimental]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/")]
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/")]
|
||||
|
||||
#![feature(plugin_registrar, managed_boxes)]
|
||||
|
||||
|
@ -76,14 +76,14 @@
|
||||
//! }
|
||||
//! ~~~
|
||||
|
||||
#![crate_id = "getopts#0.11.0-pre"]
|
||||
#![crate_id = "getopts#0.11.0"]
|
||||
#![experimental]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
#![feature(globs, phase)]
|
||||
#![deny(missing_doc)]
|
||||
|
@ -23,14 +23,14 @@
|
||||
* `glob`/`fnmatch` functions.
|
||||
*/
|
||||
|
||||
#![crate_id = "glob#0.11.0-pre"]
|
||||
#![crate_id = "glob#0.11.0"]
|
||||
#![experimental]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
|
||||
use std::cell::Cell;
|
||||
|
@ -266,14 +266,14 @@ pub fn main() {
|
||||
|
||||
*/
|
||||
|
||||
#![crate_id = "graphviz#0.11.0-pre"]
|
||||
#![crate_id = "graphviz#0.11.0"]
|
||||
#![experimental]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/")]
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/")]
|
||||
|
||||
#![experimental]
|
||||
|
||||
|
@ -197,14 +197,14 @@
|
||||
//! pool.shutdown();
|
||||
//! ```
|
||||
|
||||
#![crate_id = "green#0.11.0-pre"]
|
||||
#![crate_id = "green#0.11.0"]
|
||||
#![experimental]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
|
||||
// NB this does *not* include globs, please keep it that way.
|
||||
|
@ -36,14 +36,14 @@ fn main() {
|
||||
|
||||
*/
|
||||
|
||||
#![crate_id = "hexfloat#0.11.0-pre"]
|
||||
#![crate_id = "hexfloat#0.11.0"]
|
||||
#![experimental]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/")]
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/")]
|
||||
#![feature(plugin_registrar, managed_boxes)]
|
||||
|
||||
extern crate syntax;
|
||||
|
@ -9,11 +9,15 @@
|
||||
// except according to those terms.
|
||||
|
||||
#![feature(globs)]
|
||||
#![crate_id = "libc#0.11.0-pre"]
|
||||
#![crate_id = "libc#0.11.0"]
|
||||
#![experimental]
|
||||
#![no_std] // we don't need std, and we can't have std, since it doesn't exist
|
||||
// yet. std depends on us.
|
||||
#![crate_type = "rlib"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
|
||||
/*!
|
||||
* Bindings for the C standard library and other platform libraries
|
||||
|
@ -105,14 +105,14 @@ if logging is disabled, none of the components of the log will be executed.
|
||||
|
||||
*/
|
||||
|
||||
#![crate_id = "log#0.11.0-pre"]
|
||||
#![crate_id = "log#0.11.0"]
|
||||
#![experimental]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
|
||||
#![feature(macro_rules)]
|
||||
|
@ -44,14 +44,14 @@
|
||||
//! }
|
||||
//! ```
|
||||
|
||||
#![crate_id = "native#0.11.0-pre"]
|
||||
#![crate_id = "native#0.11.0"]
|
||||
#![experimental]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/")]
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/")]
|
||||
|
||||
#![deny(unused_result, unused_must_use)]
|
||||
#![allow(non_camel_case_types, deprecated)]
|
||||
|
@ -44,14 +44,14 @@
|
||||
|
||||
#![feature(macro_rules)]
|
||||
|
||||
#![crate_id = "num#0.11.0-pre"]
|
||||
#![crate_id = "num#0.11.0"]
|
||||
#![experimental]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
|
||||
#![allow(deprecated)] // from_str_radix
|
||||
|
@ -16,12 +16,12 @@
|
||||
//! is not recommended to use this library directly, but rather the official
|
||||
//! interface through `std::rand`.
|
||||
|
||||
#![crate_id = "rand#0.11.0-pre"]
|
||||
#![crate_id = "rand#0.11.0"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![crate_type = "rlib"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
|
||||
#![feature(macro_rules, phase, globs)]
|
||||
|
@ -353,14 +353,14 @@
|
||||
//! characters in the search text and `m` is the number of instructions in a
|
||||
//! compiled expression.
|
||||
|
||||
#![crate_id = "regex#0.11.0-pre"]
|
||||
#![crate_id = "regex#0.11.0"]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![experimental]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
|
||||
#![feature(macro_rules, phase)]
|
||||
|
@ -11,13 +11,13 @@
|
||||
//! This crate provides the `regex!` macro. Its use is documented in the
|
||||
//! `regex` crate.
|
||||
|
||||
#![crate_id = "regex_macros#0.11.0-pre"]
|
||||
#![crate_id = "regex_macros#0.11.0"]
|
||||
#![crate_type = "dylib"]
|
||||
#![experimental]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/")]
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/")]
|
||||
|
||||
#![feature(plugin_registrar, managed_boxes, quote)]
|
||||
|
||||
|
@ -20,12 +20,12 @@
|
||||
//! necessary. It is an error to include this library when also linking with
|
||||
//! the system libc library.
|
||||
|
||||
#![crate_id = "rlibc#0.11.0-pre"]
|
||||
#![crate_id = "rlibc#0.11.0"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![crate_type = "rlib"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/")]
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/")]
|
||||
#![feature(intrinsics)]
|
||||
#![allow(unknown_features)] // NOTE: remove after stage0 snapshot
|
||||
|
||||
|
@ -25,7 +25,7 @@ use syntax::util::small_vector::SmallVector;
|
||||
use std::mem;
|
||||
use std::gc::{Gc, GC};
|
||||
|
||||
pub static VERSION: &'static str = "0.11.0-pre";
|
||||
pub static VERSION: &'static str = "0.11.0";
|
||||
|
||||
pub fn maybe_inject_crates_ref(sess: &Session, krate: ast::Crate)
|
||||
-> ast::Crate {
|
||||
|
@ -18,7 +18,7 @@ This API is completely unstable and subject to change.
|
||||
|
||||
*/
|
||||
|
||||
#![crate_id = "rustc#0.11.0-pre"]
|
||||
#![crate_id = "rustc#0.11.0"]
|
||||
#![experimental]
|
||||
#![comment = "The Rust compiler"]
|
||||
#![license = "MIT/ASL2"]
|
||||
@ -26,7 +26,7 @@ This API is completely unstable and subject to change.
|
||||
#![crate_type = "rlib"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/")]
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/")]
|
||||
|
||||
#![allow(deprecated)]
|
||||
#![feature(macro_rules, globs, struct_variant, managed_boxes, quote)]
|
||||
|
@ -8,7 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
#![crate_id = "rustdoc#0.11.0-pre"]
|
||||
#![crate_id = "rustdoc#0.11.0"]
|
||||
#![experimental]
|
||||
#![desc = "rustdoc, the Rust documentation extractor"]
|
||||
#![license = "MIT/ASL2"]
|
||||
|
@ -8,13 +8,13 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
#![crate_id = "rustrt#0.11.0-pre"]
|
||||
#![crate_id = "rustrt#0.11.0"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/")]
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/")]
|
||||
|
||||
#![feature(macro_rules, phase, globs, thread_local, managed_boxes, asm)]
|
||||
#![feature(linkage, lang_items, unsafe_destructor)]
|
||||
|
@ -34,11 +34,15 @@ via `close` and `delete` methods.
|
||||
|
||||
*/
|
||||
|
||||
#![crate_id = "rustuv#0.11.0-pre"]
|
||||
#![crate_id = "rustuv#0.11.0"]
|
||||
#![experimental]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
|
||||
#![feature(macro_rules, unsafe_destructor)]
|
||||
#![deny(unused_result, unused_must_use)]
|
||||
|
@ -28,14 +28,14 @@
|
||||
//! An example version number with all five components is
|
||||
//! `0.8.1-rc.3.0+20130922.linux`.
|
||||
|
||||
#![crate_id = "semver#0.11.0-pre"]
|
||||
#![crate_id = "semver#0.11.0"]
|
||||
#![experimental]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/")]
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/")]
|
||||
|
||||
use std::char;
|
||||
use std::cmp;
|
||||
|
@ -14,14 +14,14 @@
|
||||
Core encoding and decoding interfaces.
|
||||
*/
|
||||
|
||||
#![crate_id = "serialize#0.11.0-pre"]
|
||||
#![crate_id = "serialize#0.11.0"]
|
||||
#![experimental]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
#![feature(macro_rules, managed_boxes, default_type_params, phase)]
|
||||
|
||||
|
@ -94,14 +94,14 @@
|
||||
//! all the standard macros, such as `assert!`, `fail!`, `println!`,
|
||||
//! and `format!`, also available to all Rust code.
|
||||
|
||||
#![crate_id = "std#0.11.0-pre"]
|
||||
#![crate_id = "std#0.11.0"]
|
||||
#![comment = "The Rust standard library"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
|
||||
#![feature(macro_rules, globs, managed_boxes, linkage)]
|
||||
|
@ -17,14 +17,14 @@
|
||||
//! use this crate specifically. Instead, its functionality is reexported
|
||||
//! through `std::sync`.
|
||||
|
||||
#![crate_id = "sync#0.11.0-pre"]
|
||||
#![crate_id = "sync#0.11.0"]
|
||||
#![experimental]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
|
||||
#![feature(phase, globs, macro_rules, unsafe_destructor)]
|
||||
|
@ -18,14 +18,14 @@ This API is completely unstable and subject to change.
|
||||
|
||||
*/
|
||||
|
||||
#![crate_id = "syntax#0.11.0-pre"]
|
||||
#![crate_id = "syntax#0.11.0"]
|
||||
#![experimental]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![crate_type = "dylib"]
|
||||
#![crate_type = "rlib"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/")]
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/")]
|
||||
|
||||
#![feature(macro_rules, globs, managed_boxes, default_type_params, phase)]
|
||||
#![feature(quote, unsafe_destructor)]
|
||||
|
@ -38,7 +38,7 @@
|
||||
//! [win]: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682010%28v=vs.85%29.aspx
|
||||
//! [ti]: https://en.wikipedia.org/wiki/Terminfo
|
||||
|
||||
#![crate_id = "term#0.11.0-pre"]
|
||||
#![crate_id = "term#0.11.0"]
|
||||
#![experimental]
|
||||
#![comment = "Simple ANSI color library"]
|
||||
#![license = "MIT/ASL2"]
|
||||
@ -46,7 +46,7 @@
|
||||
#![crate_type = "dylib"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
|
||||
#![feature(macro_rules, phase)]
|
||||
|
@ -23,7 +23,7 @@
|
||||
// running tests while providing a base that other test frameworks may
|
||||
// build off of.
|
||||
|
||||
#![crate_id = "test#0.11.0-pre"]
|
||||
#![crate_id = "test#0.11.0"]
|
||||
#![experimental]
|
||||
#![comment = "Rust internal test library only used by rustc"]
|
||||
#![license = "MIT/ASL2"]
|
||||
@ -31,7 +31,7 @@
|
||||
#![crate_type = "dylib"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/")]
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/")]
|
||||
|
||||
#![feature(asm, macro_rules, phase)]
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
//! Simple time handling.
|
||||
|
||||
#![crate_id = "time#0.11.0-pre"]
|
||||
#![crate_id = "time#0.11.0"]
|
||||
#![experimental]
|
||||
|
||||
#![crate_type = "rlib"]
|
||||
@ -18,7 +18,7 @@
|
||||
#![license = "MIT/ASL2"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
#![feature(phase)]
|
||||
|
||||
|
@ -10,14 +10,14 @@
|
||||
|
||||
//! Types/fns concerning URLs (see RFC 3986)
|
||||
|
||||
#![crate_id = "url#0.11.0-pre"]
|
||||
#![crate_id = "url#0.11.0"]
|
||||
#![experimental]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
#![feature(default_type_params)]
|
||||
|
||||
|
@ -54,14 +54,14 @@ Examples of string representations:
|
||||
|
||||
*/
|
||||
|
||||
#![crate_id = "uuid#0.11.0-pre"]
|
||||
#![crate_id = "uuid#0.11.0"]
|
||||
#![experimental]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/",
|
||||
html_root_url = "http://doc.rust-lang.org/0.11.0/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
|
||||
#![feature(default_type_params)]
|
||||
|
@ -10,5 +10,5 @@
|
||||
|
||||
// no-prefer-dynamic
|
||||
|
||||
#![crate_id = "url#0.11.0-pre"]
|
||||
#![crate_id = "url#0.11.0"]
|
||||
#![crate_type = "dylib"]
|
||||
|
@ -10,5 +10,5 @@
|
||||
|
||||
// no-prefer-dynamic
|
||||
|
||||
#![crate_id = "url#0.11.0-pre"]
|
||||
#![crate_id = "url#0.11.0"]
|
||||
#![crate_type = "rlib"]
|
||||
|
@ -1,7 +1,7 @@
|
||||
-include ../tools.mk
|
||||
|
||||
all:
|
||||
[ `$(RUSTC) --crate-id crate.rs` = "foo#0.11.0-pre" ]
|
||||
[ `$(RUSTC) --crate-id crate.rs` = "foo#0.11.0" ]
|
||||
[ `$(RUSTC) --crate-name crate.rs` = "foo" ]
|
||||
[ `$(RUSTC) --crate-file-name crate.rs` = "foo" ]
|
||||
[ `$(RUSTC) --crate-file-name --crate-type=lib --test crate.rs` = "foo" ]
|
||||
|
@ -8,7 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
#![crate_id = "foo#0.11.0-pre"]
|
||||
#![crate_id = "foo#0.11.0"]
|
||||
|
||||
// Querying about the crate metadata should *not* parse the entire crate, it
|
||||
// only needs the crate attributes (which are guaranteed to be at the top) be
|
||||
|
@ -15,7 +15,7 @@
|
||||
#![no_std]
|
||||
extern crate std;
|
||||
extern crate zed = "std";
|
||||
extern crate bar = "std#0.11.0-pre";
|
||||
extern crate bar = "std#0.11.0";
|
||||
|
||||
|
||||
use std::str;
|
||||
|
Loading…
Reference in New Issue
Block a user