From aa1163b92de7717eb7c5eba002b4012e0574a7fe Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 27 Jun 2014 11:07:26 -0700 Subject: [PATCH] Update to 0.11.0 --- man/rustc.1 | 2 +- man/rustdoc.1 | 2 +- mk/main.mk | 2 +- src/doc/README.md | 4 ++-- src/doc/guide.md | 6 +++--- src/etc/kate/rust.xml | 2 +- src/liballoc/lib.rs | 2 +- src/libarena/lib.rs | 4 ++-- src/libcollections/lib.rs | 4 ++-- src/libcore/lib.rs | 4 ++-- src/libdebug/lib.rs | 4 ++-- src/libflate/lib.rs | 4 ++-- src/libfmt_macros/lib.rs | 2 +- src/libfourcc/lib.rs | 4 ++-- src/libgetopts/lib.rs | 4 ++-- src/libglob/lib.rs | 4 ++-- src/libgraphviz/lib.rs | 4 ++-- src/libgreen/lib.rs | 4 ++-- src/libhexfloat/lib.rs | 4 ++-- src/liblibc/lib.rs | 6 +++++- src/liblog/lib.rs | 4 ++-- src/libnative/lib.rs | 4 ++-- src/libnum/lib.rs | 4 ++-- src/librand/lib.rs | 4 ++-- src/libregex/lib.rs | 4 ++-- src/libregex_macros/lib.rs | 4 ++-- src/librlibc/lib.rs | 4 ++-- src/librustc/front/std_inject.rs | 2 +- src/librustc/lib.rs | 4 ++-- src/librustdoc/lib.rs | 2 +- src/librustrt/lib.rs | 4 ++-- src/librustuv/lib.rs | 6 +++++- src/libsemver/lib.rs | 4 ++-- src/libserialize/lib.rs | 4 ++-- src/libstd/lib.rs | 4 ++-- src/libsync/lib.rs | 4 ++-- src/libsyntax/lib.rs | 4 ++-- src/libterm/lib.rs | 4 ++-- src/libtest/lib.rs | 4 ++-- src/libtime/lib.rs | 4 ++-- src/liburl/lib.rs | 4 ++-- src/libuuid/lib.rs | 4 ++-- src/test/auxiliary/issue-11908-1.rs | 2 +- src/test/auxiliary/issue-11908-2.rs | 2 +- src/test/run-make/crate-data-smoke/Makefile | 2 +- src/test/run-make/crate-data-smoke/crate.rs | 2 +- src/test/run-pass/use.rs | 2 +- 47 files changed, 88 insertions(+), 80 deletions(-) diff --git a/man/rustc.1 b/man/rustc.1 index a71547893ad..df65cf7bb37 100644 --- a/man/rustc.1 +++ b/man/rustc.1 @@ -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 diff --git a/man/rustdoc.1 b/man/rustdoc.1 index 82b7ee27b94..6bde792f59c 100644 --- a/man/rustdoc.1 +++ b/man/rustdoc.1 @@ -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 diff --git a/mk/main.mk b/mk/main.mk index 3f6103bafa5..c4be89033a6 100644 --- a/mk/main.mk +++ b/mk/main.mk @@ -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 diff --git a/src/doc/README.md b/src/doc/README.md index 759a21af0ce..f8b0f07d19a 100644 --- a/src/doc/README.md +++ b/src/doc/README.md @@ -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 diff --git a/src/doc/guide.md b/src/doc/guide.md index bf54b3dc6a4..e5a753f55d0 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -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! ``` diff --git a/src/etc/kate/rust.xml b/src/etc/kate/rust.xml index c0289fc6d83..deb713ac1ae 100644 --- a/src/etc/kate/rust.xml +++ b/src/etc/kate/rust.xml @@ -7,7 +7,7 @@ ]> - + fn diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index e89a9c019bb..29293366e50 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -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"] diff --git a/src/libarena/lib.rs b/src/libarena/lib.rs index aacf9936cce..f7c4831b5bf 100644 --- a/src/libarena/lib.rs +++ b/src/libarena/lib.rs @@ -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)] diff --git a/src/libcollections/lib.rs b/src/libcollections/lib.rs index c5b87044398..c698b35c848 100644 --- a/src/libcollections/lib.rs +++ b/src/libcollections/lib.rs @@ -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)] diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs index aa55f204f45..7d6d0d19037 100644 --- a/src/libcore/lib.rs +++ b/src/libcore/lib.rs @@ -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] diff --git a/src/libdebug/lib.rs b/src/libdebug/lib.rs index b5afb3381ad..850002b595e 100644 --- a/src/libdebug/lib.rs +++ b/src/libdebug/lib.rs @@ -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)] diff --git a/src/libflate/lib.rs b/src/libflate/lib.rs index 26e9b2aa372..7d0ae03c878 100644 --- a/src/libflate/lib.rs +++ b/src/libflate/lib.rs @@ -18,14 +18,14 @@ */ -#![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; diff --git a/src/libfmt_macros/lib.rs b/src/libfmt_macros/lib.rs index 90023ab0fc5..b9c0fcce52d 100644 --- a/src/libfmt_macros/lib.rs +++ b/src/libfmt_macros/lib.rs @@ -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"] diff --git a/src/libfourcc/lib.rs b/src/libfourcc/lib.rs index a5880f32472..d30c846e242 100644 --- a/src/libfourcc/lib.rs +++ b/src/libfourcc/lib.rs @@ -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)] diff --git a/src/libgetopts/lib.rs b/src/libgetopts/lib.rs index 240f5c007fa..ccb1adf93de 100644 --- a/src/libgetopts/lib.rs +++ b/src/libgetopts/lib.rs @@ -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)] diff --git a/src/libglob/lib.rs b/src/libglob/lib.rs index f80208c4743..3cb21601e33 100644 --- a/src/libglob/lib.rs +++ b/src/libglob/lib.rs @@ -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; diff --git a/src/libgraphviz/lib.rs b/src/libgraphviz/lib.rs index 13342633f4c..16298f51ea9 100644 --- a/src/libgraphviz/lib.rs +++ b/src/libgraphviz/lib.rs @@ -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] diff --git a/src/libgreen/lib.rs b/src/libgreen/lib.rs index e0e9187a409..1d23b0f1832 100644 --- a/src/libgreen/lib.rs +++ b/src/libgreen/lib.rs @@ -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. diff --git a/src/libhexfloat/lib.rs b/src/libhexfloat/lib.rs index 351afc1c5d4..d0e9e2e436e 100644 --- a/src/libhexfloat/lib.rs +++ b/src/libhexfloat/lib.rs @@ -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; diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs index 0d4f9ad19c6..83b6c696adf 100644 --- a/src/liblibc/lib.rs +++ b/src/liblibc/lib.rs @@ -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 diff --git a/src/liblog/lib.rs b/src/liblog/lib.rs index 41a741eb1df..59bed3840a3 100644 --- a/src/liblog/lib.rs +++ b/src/liblog/lib.rs @@ -105,14 +105,14 @@ fn main() { */ -#![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)] diff --git a/src/libnative/lib.rs b/src/libnative/lib.rs index 9b2bcbbdb0e..ade7a479d1e 100644 --- a/src/libnative/lib.rs +++ b/src/libnative/lib.rs @@ -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)] diff --git a/src/libnum/lib.rs b/src/libnum/lib.rs index 1e82da5ef8d..db0cd7f2567 100644 --- a/src/libnum/lib.rs +++ b/src/libnum/lib.rs @@ -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 diff --git a/src/librand/lib.rs b/src/librand/lib.rs index 769b23a7e7b..6195756e4c0 100644 --- a/src/librand/lib.rs +++ b/src/librand/lib.rs @@ -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)] diff --git a/src/libregex/lib.rs b/src/libregex/lib.rs index 61b133c4e68..b69c4471267 100644 --- a/src/libregex/lib.rs +++ b/src/libregex/lib.rs @@ -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)] diff --git a/src/libregex_macros/lib.rs b/src/libregex_macros/lib.rs index ff5cada05ea..530b15c116d 100644 --- a/src/libregex_macros/lib.rs +++ b/src/libregex_macros/lib.rs @@ -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)] diff --git a/src/librlibc/lib.rs b/src/librlibc/lib.rs index 0d917e20c25..144479e882d 100644 --- a/src/librlibc/lib.rs +++ b/src/librlibc/lib.rs @@ -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 diff --git a/src/librustc/front/std_inject.rs b/src/librustc/front/std_inject.rs index 401d3fd9b24..54ba9db570e 100644 --- a/src/librustc/front/std_inject.rs +++ b/src/librustc/front/std_inject.rs @@ -25,7 +25,7 @@ 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 { diff --git a/src/librustc/lib.rs b/src/librustc/lib.rs index 2cd41cf14ab..729eb908e39 100644 --- a/src/librustc/lib.rs +++ b/src/librustc/lib.rs @@ -18,7 +18,7 @@ */ -#![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 @@ #![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)] diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index be14ffa87af..e11e6b41cb1 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -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"] diff --git a/src/librustrt/lib.rs b/src/librustrt/lib.rs index 34898ea64ac..f3aacd687e7 100644 --- a/src/librustrt/lib.rs +++ b/src/librustrt/lib.rs @@ -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)] diff --git a/src/librustuv/lib.rs b/src/librustuv/lib.rs index 74caf86a631..65a311fcf5d 100644 --- a/src/librustuv/lib.rs +++ b/src/librustuv/lib.rs @@ -34,11 +34,15 @@ */ -#![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)] diff --git a/src/libsemver/lib.rs b/src/libsemver/lib.rs index 054a97315ad..c36de052cb4 100644 --- a/src/libsemver/lib.rs +++ b/src/libsemver/lib.rs @@ -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; diff --git a/src/libserialize/lib.rs b/src/libserialize/lib.rs index 275e5e242d6..a2a50413236 100644 --- a/src/libserialize/lib.rs +++ b/src/libserialize/lib.rs @@ -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)] diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 8106d516dad..b1512440969 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -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)] diff --git a/src/libsync/lib.rs b/src/libsync/lib.rs index beb75bab3f6..4f6d1a261c4 100644 --- a/src/libsync/lib.rs +++ b/src/libsync/lib.rs @@ -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)] diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index 0d6821fb30c..ce63d2bb731 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -18,14 +18,14 @@ */ -#![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)] diff --git a/src/libterm/lib.rs b/src/libterm/lib.rs index 80ece06df3a..7eeb2dd26a9 100644 --- a/src/libterm/lib.rs +++ b/src/libterm/lib.rs @@ -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)] diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs index 589f605f8d2..03773fad9a8 100644 --- a/src/libtest/lib.rs +++ b/src/libtest/lib.rs @@ -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)] diff --git a/src/libtime/lib.rs b/src/libtime/lib.rs index 94a7acaf076..8245c58fc5d 100644 --- a/src/libtime/lib.rs +++ b/src/libtime/lib.rs @@ -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)] diff --git a/src/liburl/lib.rs b/src/liburl/lib.rs index 566602b4091..93072095f9d 100644 --- a/src/liburl/lib.rs +++ b/src/liburl/lib.rs @@ -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)] diff --git a/src/libuuid/lib.rs b/src/libuuid/lib.rs index 19627e2c2ce..d1abde987eb 100644 --- a/src/libuuid/lib.rs +++ b/src/libuuid/lib.rs @@ -54,14 +54,14 @@ fn main() { */ -#![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)] diff --git a/src/test/auxiliary/issue-11908-1.rs b/src/test/auxiliary/issue-11908-1.rs index 4491adc74bd..8a48e483029 100644 --- a/src/test/auxiliary/issue-11908-1.rs +++ b/src/test/auxiliary/issue-11908-1.rs @@ -10,5 +10,5 @@ // no-prefer-dynamic -#![crate_id = "url#0.11.0-pre"] +#![crate_id = "url#0.11.0"] #![crate_type = "dylib"] diff --git a/src/test/auxiliary/issue-11908-2.rs b/src/test/auxiliary/issue-11908-2.rs index d921aeda3e0..0deece53451 100644 --- a/src/test/auxiliary/issue-11908-2.rs +++ b/src/test/auxiliary/issue-11908-2.rs @@ -10,5 +10,5 @@ // no-prefer-dynamic -#![crate_id = "url#0.11.0-pre"] +#![crate_id = "url#0.11.0"] #![crate_type = "rlib"] diff --git a/src/test/run-make/crate-data-smoke/Makefile b/src/test/run-make/crate-data-smoke/Makefile index a72e24cf2c3..a44481b4b7f 100644 --- a/src/test/run-make/crate-data-smoke/Makefile +++ b/src/test/run-make/crate-data-smoke/Makefile @@ -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" ] diff --git a/src/test/run-make/crate-data-smoke/crate.rs b/src/test/run-make/crate-data-smoke/crate.rs index 31446a763e2..9faa7c01628 100644 --- a/src/test/run-make/crate-data-smoke/crate.rs +++ b/src/test/run-make/crate-data-smoke/crate.rs @@ -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 diff --git a/src/test/run-pass/use.rs b/src/test/run-pass/use.rs index c42f392d2bc..e5a79bfaa99 100644 --- a/src/test/run-pass/use.rs +++ b/src/test/run-pass/use.rs @@ -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; -- 2.44.0