From 1fefa5b5149211c7acd11fd2ab78d9ca9873ed92 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 27 Jun 2014 12:46:42 -0700 Subject: [PATCH 1/2] Updated release notes for 0.11.0 --- RELEASES.txt | 133 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) diff --git a/RELEASES.txt b/RELEASES.txt index ee437b658e1..1fc3ebd414f 100644 --- a/RELEASES.txt +++ b/RELEASES.txt @@ -1,3 +1,136 @@ +Version 0.11 (July 2014) +------------------------- + + * ~1700 cahnges, numerous bugfixes + + * Language + * ~[T] has been removed from the language. This type is superseded by + the Vec type. + * ~str has been removed from the language. This type is superseded by + the String type. + * ~T has been removed from the language. This type is superseded by the + Box type. + * @T has been removed from the language. This type is superseded by the + standard library's std::gc::Gc type. + * Struct fields are now all private by default. + * Vector indices and shift amounts are both required to be a `uint` now + instead of any integral type. + * Byte character, byte string, and raw byte string literals are now all + supported by prefixing the normal literal with a `b`. + * Multiple ABIs are no longer allowed in an ABI string + * The syntax for lifetimes on clousres/procedures has been tweaked + slightly. + * Floating point modulus has been removed from the language, it is still + provided by a library implementation, however. + * Private enum variants are now disallowed. + * The `priv` keyword has been removed from the language. + * A closure can no longer be invoked through a &-pointer. + * The `use foo, bar, baz;` syntax has been removed from the language. + * The transmute intrinsic no longer works on type parameters. + * Statics now allow blocks/items in their definition. + * Trait bounds are separated from objects with + instead of : now. + * Mutably borrowed objects can no longer be read while they are + borrowed. + * The address of a static is now marked as insignificant unless the + #[inline(never)] attribute is placed on a static. + * The #[unsafe_destructor] attribute is now behind a feature gate. + * Struct literals are no longer allowed in ambiguous positions such as + if, while, match, and for..in. + * Declaration of lang items and intrinsics are now feature-gated by + default. + * Integral literals no longer default to `int`, and floating point + literals no longer default to `f64`. Literals must be suffixed with an + appropriate type if inference cannot determine the type of the + literal. + * The Box type is no longer implicitly borrowed to &mut T. + * Procedures are now required to not capture borrowed references. + + * Libraries + * The standard library is now a "facade" over a number of underlying + libraries. This means that development on the standard library should + be speeder due to less to compile, as well as a clearer line between + all dependencies. + * A new library, libcore, lives under the standard library's facade + which is Rust's "0-assumption" library, suitable for embedded and + kernel development for example. + * A regex crate has been added to the standard distribution. This crate + includes statically compiled regulard expressions. + * The unwrap/unwrap_err methods on Result require a Show bound for + better error messages. + * The return types of the std::comm primitives have been centralized + around the Result type. + * A number of I/O primitives have gained the ability to time out their + operations. + * A number of I/O primitives have gained the ability to close their + reading/writing halves to cancel pending operations. + * Reverse iterator methods have been removed in favor of `rev()` on + their forward-iteration counterparts. + * A bitflags! macro has been added to enable easy interop with C and + management of bit flags. + * A debug_assert! macro is now provided which is disabled when + `--cfg ndebug` is passed to the compiler. + * A graphviz crate has been added for creating .dot files. + * The std::cast module has been migrated into std::mem. + * The std::local_data api has been migrated from freestanding functions + to based on methods. + * The Pod trait has been renamed to Copy. + * jemalloc has been added as the default allocator for types. + * The api for allocating memory in rust has been modified for sized + deallocation as well as using proper alignment. + * Connecting a TcpStream or binding a TcpListener is now based on a + string address and a u16 port. This allows connecting to a hostname as + opposed to an IP. + * The Reader trait now contains a core method, read_at_least(), which + correctly handles many repeated 0-length reads. + * The process-spawning API is now centered around a builder-style + Command struct. + * The :? printing qualifier has been moved from the standard library to + an external libdebug crate. + * Eq/Ord have been renamed to PartialEq/PartialOrd. TotalEq/TotalOrd + have been renamed to Eq/Ord. + * The select/plural methods have been removed from format!. The escapes + for { and } have also changed from \{ and \} to {{ and }}, + respectively. + * The TaskBuilder API has been re-worked to be a true builder, and + extension traits for spawning native/green tasks have been added. + + * Tooling + * All breaking changes to the language or libraries now have their + commit message annotated with `[breaking-change]` to allow for easy + discovery of breaking changes. + * The compiler will now try to suggest how to annotate lifetimes if a + lifetime-related error occurs. + * Debug info continues to be improved greatly with better support for + situations such as LTO and general bug fixes. + * Usage of syntax extensions when cross-compiling has been fixed. + * The equivalent of ffunction-sections and fdata-sections have been + enabled by default with the equivalent of --gc-sections. + * The compiler is now stricter about where it will load module files + from when a module is declared via `mod foo;`. + * The #[phase(syntax)] attribute has been renamed to #[phase(plugin)]. + Syntax extensions are now discovered via a "plugin registrar" type + which will be extended in the future to other various plugins. + * Lints have been restructured to allow for dynamically loadable lints. + * A number of rustdoc improvements: + * The HTML output has been visually redesigned. + * Markdown is now powered by hoedown instead of sundown. + * Searching heuristics have been greatly improved. + * The search index has been reduced in size by a great amount. + * Cross-crate documentation via `pub use` has been greatly improved. + * Primitive types are now hyperlinked and documented. + * Documentation has been moved from static.rust-lang.org/doc to + doc.rust-lang.org + * A new sandbox, play.rust-lang.org, is available for running and + sharing rust code examples on-line. + * Unused attributes are now more robustly warned about. + * The dead_code lint now warns about unused struct fields. + * Cross-compiling to iOS is now supported. + * Cross-compiling to mipsel is now supported. + * Stability attributes are now inherited by default and no longer apply + to intra-crate usage, only inter-crate usage. + * Error message related to non-exhaustive match statements have been + greatly improved. + Version 0.10 (April 2014) ------------------------- From aa1163b92de7717eb7c5eba002b4012e0574a7fe Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 27 Jun 2014 11:07:26 -0700 Subject: [PATCH 2/2] 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 @@ 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 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 @@ 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 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 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 2cd41cf14ab..729eb908e39 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 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 @@ 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 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 @@ 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 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 @@ 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 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;