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 a71547893ad0b..df65cf7bb37ff 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 82b7ee27b9487..6bde792f59c76 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 3f6103bafa52d..c4be89033a648 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 759a21af0ce5f..f8b0f07d19afb 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 bf54b3dc6a415..e5a753f55d087 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 c0289fc6d83e1..deb713ac1ae01 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 e89a9c019bb7a..29293366e5008 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 aacf9936cce36..f7c4831b5bf94 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 c5b8704439850..c698b35c84811 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 aa55f204f459f..7d6d0d190370f 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 b5afb3381ada9..850002b595e91 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 26e9b2aa372fa..7d0ae03c87812 100644 --- a/src/libflate/lib.rs +++ b/src/libflate/lib.rs @@ -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; diff --git a/src/libfmt_macros/lib.rs b/src/libfmt_macros/lib.rs index 90023ab0fc505..b9c0fcce52da7 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 a5880f3247242..d30c846e24285 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 240f5c007fa24..ccb1adf93de6d 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 f80208c4743f7..3cb21601e331d 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 13342633f4c23..16298f51ea96b 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 e0e9187a409c6..1d23b0f1832d7 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 351afc1c5d4e9..d0e9e2e436eaa 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 0d4f9ad19c698..83b6c696adf07 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 41a741eb1df34..59bed3840a36f 100644 --- a/src/liblog/lib.rs +++ b/src/liblog/lib.rs @@ -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)] diff --git a/src/libnative/lib.rs b/src/libnative/lib.rs index 9b2bcbbdb0ee3..ade7a479d1e15 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 1e82da5ef8de4..db0cd7f256724 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 769b23a7e7bf9..6195756e4c082 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 61b133c4e68ab..b69c4471267bb 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 ff5cada05ea2e..530b15c116d8b 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 0d917e20c25c6..144479e882d8a 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 401d3fd9b244f..54ba9db570e63 100644 --- a/src/librustc/front/std_inject.rs +++ b/src/librustc/front/std_inject.rs @@ -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 { diff --git a/src/librustc/lib.rs b/src/librustc/lib.rs index 2cd41cf14ab21..729eb908e3943 100644 --- a/src/librustc/lib.rs +++ b/src/librustc/lib.rs @@ -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)] diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index be14ffa87af1c..e11e6b41cb177 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 34898ea64acf7..f3aacd687e740 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 74caf86a63102..65a311fcf5d28 100644 --- a/src/librustuv/lib.rs +++ b/src/librustuv/lib.rs @@ -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)] diff --git a/src/libsemver/lib.rs b/src/libsemver/lib.rs index 054a97315add0..c36de052cb44a 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 275e5e242d665..a2a5041323633 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 8106d516dad6e..b15124409693c 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 beb75bab3f6ab..4f6d1a261c491 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 0d6821fb30c08..ce63d2bb7311a 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -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)] diff --git a/src/libterm/lib.rs b/src/libterm/lib.rs index 80ece06df3add..7eeb2dd26a949 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 589f605f8d234..03773fad9a8fc 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 94a7acaf0765a..8245c58fc5d4b 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 566602b409104..93072095f9d4b 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 19627e2c2ce50..d1abde987ebdc 100644 --- a/src/libuuid/lib.rs +++ b/src/libuuid/lib.rs @@ -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)] diff --git a/src/test/auxiliary/issue-11908-1.rs b/src/test/auxiliary/issue-11908-1.rs index 4491adc74bd65..8a48e483029da 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 d921aeda3e01a..0deece53451ee 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 a72e24cf2c385..a44481b4b7f23 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 31446a763e2dd..9faa7c016284b 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 c42f392d2bce0..e5a79bfaa9939 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;