From dbd36111fe36f09500d777746159e73d52fa6a64 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Fri, 21 Dec 2012 15:35:15 -0800 Subject: [PATCH] bump 0.5 => 0.6, redirect some URLs in docs. --- Makefile.in | 2 +- README.md | 8 ++++---- doc/tutorial.md | 6 +++--- src/compiletest/compiletest.rc | 4 ++-- src/driver/driver.rs | 12 ++++++------ src/libcargo/cargo.rc | 10 +++++----- src/libcore/core.rc | 6 +++--- src/libcore/float.rs | 6 +++--- src/libfuzzer/fuzzer.rc | 8 ++++---- src/librustc/rustc.rc | 8 ++++---- src/librustdoc/rustdoc.rc | 10 +++++----- src/librusti/rusti.rc | 10 +++++----- src/libstd/std.rc | 4 ++-- src/libsyntax/syntax.rc | 6 +++--- src/test/run-pass/use.rs | 2 +- 15 files changed, 51 insertions(+), 51 deletions(-) diff --git a/Makefile.in b/Makefile.in index 9ed69c69e46..963f455fe8a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -154,7 +154,7 @@ LIBRUSTI_DSYM_GLOB :=$(call CFG_LIB_DSYM_GLOB,rusti) # version-string calculation CFG_GIT_DIR := $(CFG_SRC_DIR).git -CFG_RELEASE = 0.5 +CFG_RELEASE = 0.6 CFG_VERSION = $(CFG_RELEASE) ifneq ($(wildcard $(CFG_GIT)),) diff --git a/README.md b/README.md index 1c0a86b1fdf..9f4ee0a44ff 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ packages: Assuming you're on a relatively modern *nix system and have met the prerequisites, something along these lines should work. - $ wget http://dl.rust-lang.org/dist/rust-0.5.tar.gz + $ wget http://static.rust-lang.org/dist/rust-0.5.tar.gz $ tar -xzf rust-0.5.tar.gz $ cd rust-0.5 $ ./configure @@ -59,8 +59,8 @@ When complete, `make install` will place several programs into API-documentation tool, and `cargo`, the Rust package manager. [wiki-start]: https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust -[tarball]: http://dl.rust-lang.org/dist/rust-0.5.tar.gz -[win-exe]: http://dl.rust-lang.org/dist/rust-0.5-install.exe +[tarball]: http://static.rust-lang.org/dist/rust-0.5.tar.gz +[win-exe]: http://static.rust-lang.org/dist/rust-0.5-install.exe ## License @@ -74,4 +74,4 @@ See LICENSE.txt for details. The [tutorial] is a good starting point. -[tutorial]: http://dl.rust-lang.org/doc/tutorial.html +[tutorial]: http://static.rust-lang.org/doc/tutorial.html diff --git a/doc/tutorial.md b/doc/tutorial.md index 3a90b0baacd..a9f532c3892 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -99,7 +99,7 @@ If you've fulfilled those prerequisites, something along these lines should work. ~~~~ {.notrust} -$ curl -O http://dl.rust-lang.org/dist/rust-0.5.tar.gz +$ curl -O http://static.rust-lang.org/dist/rust-0.5.tar.gz $ tar -xzf rust-0.5.tar.gz $ cd rust-0.5 $ ./configure @@ -118,8 +118,8 @@ API-documentation tool, `cargo`, the Rust package manager, and `rusti`, the Rust REPL. [wiki-start]: https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust -[tarball]: http://dl.rust-lang.org/dist/rust-0.5.tar.gz -[win-exe]: http://dl.rust-lang.org/dist/rust-0.5-install.exe +[tarball]: http://static.rust-lang.org/dist/rust-0.5.tar.gz +[win-exe]: http://static.rust-lang.org/dist/rust-0.5-install.exe ## Compiling your first program diff --git a/src/compiletest/compiletest.rc b/src/compiletest/compiletest.rc index ceceeee9d7a..8505e481638 100644 --- a/src/compiletest/compiletest.rc +++ b/src/compiletest/compiletest.rc @@ -18,8 +18,8 @@ #[allow(deprecated_mode)]; #[allow(deprecated_pattern)]; -extern mod core(vers = "0.5"); -extern mod std(vers = "0.5"); +extern mod core(vers = "0.6"); +extern mod std(vers = "0.6"); use core::*; diff --git a/src/driver/driver.rs b/src/driver/driver.rs index e96ff9662eb..5801c23f814 100644 --- a/src/driver/driver.rs +++ b/src/driver/driver.rs @@ -9,21 +9,21 @@ // except according to those terms. #[no_core]; -extern mod core(vers = "0.5"); +extern mod core(vers = "0.6"); #[cfg(cargo)] -extern mod self(name = "cargo", vers = "0.5"); +extern mod self(name = "cargo", vers = "0.6"); #[cfg(fuzzer)] -extern mod self(name = "fuzzer", vers = "0.5"); +extern mod self(name = "fuzzer", vers = "0.6"); #[cfg(rustdoc)] -extern mod self(name = "rustdoc", vers = "0.5"); +extern mod self(name = "rustdoc", vers = "0.6"); #[cfg(rusti)] -extern mod self(name = "rusti", vers = "0.5"); +extern mod self(name = "rusti", vers = "0.6"); #[cfg(rustc)] -extern mod self(name = "rustc", vers = "0.5"); +extern mod self(name = "rustc", vers = "0.6"); fn main() { self::main() } \ No newline at end of file diff --git a/src/libcargo/cargo.rc b/src/libcargo/cargo.rc index 4fc8ddd9cdb..d4e68746fd4 100644 --- a/src/libcargo/cargo.rc +++ b/src/libcargo/cargo.rc @@ -20,7 +20,7 @@ // End: #[link(name = "cargo", - vers = "0.5", + vers = "0.6", uuid = "9ff87a04-8fed-4295-9ff8-f99bb802650b", url = "https://github.com/mozilla/rust/tree/master/src/cargo")]; @@ -37,10 +37,10 @@ #[allow(deprecated_mode)]; #[allow(deprecated_pattern)]; -extern mod core(vers = "0.5"); -extern mod std(vers = "0.5"); -extern mod rustc(vers = "0.5"); -extern mod syntax(vers = "0.5"); +extern mod core(vers = "0.6"); +extern mod std(vers = "0.6"); +extern mod rustc(vers = "0.6"); +extern mod syntax(vers = "0.6"); #[legacy_exports] mod pgp; diff --git a/src/libcore/core.rc b/src/libcore/core.rc index 72a0ddb21f9..bac6bae90a0 100644 --- a/src/libcore/core.rc +++ b/src/libcore/core.rc @@ -36,7 +36,7 @@ Implicitly, all crates behave as if they included the following prologue: #[link(name = "core", - vers = "0.5", + vers = "0.6", uuid = "c70c24a7-5551-4f73-8e37-380b11d80be8", url = "https://github.com/mozilla/rust/tree/master/src/libcore")]; @@ -103,7 +103,7 @@ pub mod owned; #[cfg(notest)] pub mod cmp; // Make core testable by not duplicating lang items. See #2912 -#[cfg(test)] extern mod realcore(name = "core", vers = "0.5"); +#[cfg(test)] extern mod realcore(name = "core", vers = "0.6"); #[cfg(test)] pub use kinds = realcore::kinds; #[cfg(test)] pub use ops = realcore::ops; #[cfg(test)] pub use cmp = realcore::cmp; @@ -249,7 +249,7 @@ mod core { // Similar to above. Some magic to make core testable. #[cfg(test)] mod std { - extern mod std(vers = "0.5"); + extern mod std(vers = "0.6"); pub use std::std::test; } diff --git a/src/libcore/float.rs b/src/libcore/float.rs index 27184a39708..8450251c618 100644 --- a/src/libcore/float.rs +++ b/src/libcore/float.rs @@ -466,9 +466,9 @@ pub fn test_from_str() { assert from_str(~".e-1") == Some(0.); assert from_str(~"5.") == Some(5.); assert from_str(~".5") == Some(0.5); - assert from_str(~"0.5") == Some(0.5); - assert from_str(~"0.5") == Some(0.5); - assert from_str(~"0.5") == Some(0.5); + assert from_str(~"0.6") == Some(0.5); + assert from_str(~"0.6") == Some(0.5); + assert from_str(~"0.6") == Some(0.5); assert from_str(~"-.5") == Some(-0.5); assert from_str(~"-.5") == Some(-0.5); assert from_str(~"-5") == Some(-5.); diff --git a/src/libfuzzer/fuzzer.rc b/src/libfuzzer/fuzzer.rc index 66ef622fcd8..cf242ddd8e2 100644 --- a/src/libfuzzer/fuzzer.rc +++ b/src/libfuzzer/fuzzer.rc @@ -11,7 +11,7 @@ #[link(name = "fuzzer", - vers = "0.5", + vers = "0.6", uuid = "d6418797-2736-4833-bd82-d3c684b7c1b0", url = "https://github.com/mozilla/rust/tree/master/src/libfuzzer")]; @@ -28,9 +28,9 @@ #[allow(deprecated_mode)]; #[allow(deprecated_pattern)]; -extern mod core(vers = "0.5"); -extern mod std(vers = "0.5"); -extern mod syntax(vers = "0.5"); +extern mod core(vers = "0.6"); +extern mod std(vers = "0.6"); +extern mod syntax(vers = "0.6"); use core::*; diff --git a/src/librustc/rustc.rc b/src/librustc/rustc.rc index 85d440ebff9..9331693bf0a 100644 --- a/src/librustc/rustc.rc +++ b/src/librustc/rustc.rc @@ -11,7 +11,7 @@ #[link(name = "rustc", - vers = "0.5", + vers = "0.6", uuid = "0ce89b41-2f92-459e-bbc1-8f5fe32f16cf", url = "https://github.com/mozilla/rust/tree/master/src/rustc")]; @@ -29,9 +29,9 @@ #[allow(deprecated_mode)]; #[warn(deprecated_pattern)]; -extern mod core(vers = "0.5"); -extern mod std(vers = "0.5"); -extern mod syntax(vers = "0.5"); +extern mod core(vers = "0.6"); +extern mod std(vers = "0.6"); +extern mod syntax(vers = "0.6"); use core::*; diff --git a/src/librustdoc/rustdoc.rc b/src/librustdoc/rustdoc.rc index a2e0dc91b3f..77ed564aab4 100644 --- a/src/librustdoc/rustdoc.rc +++ b/src/librustdoc/rustdoc.rc @@ -11,7 +11,7 @@ //! Rustdoc - The Rust documentation generator #[link(name = "rustdoc", - vers = "0.5", + vers = "0.6", uuid = "f8abd014-b281-484d-a0c3-26e3de8e2412", url = "https://github.com/mozilla/rust/tree/master/src/rustdoc")]; @@ -27,10 +27,10 @@ #[allow(deprecated_mode)]; #[allow(deprecated_pattern)]; -extern mod core(vers = "0.5"); -extern mod std(vers = "0.5"); -extern mod rustc(vers = "0.5"); -extern mod syntax(vers = "0.5"); +extern mod core(vers = "0.6"); +extern mod std(vers = "0.6"); +extern mod rustc(vers = "0.6"); +extern mod syntax(vers = "0.6"); use core::*; use std::par; diff --git a/src/librusti/rusti.rc b/src/librusti/rusti.rc index 906735d950a..915a8423df5 100644 --- a/src/librusti/rusti.rc +++ b/src/librusti/rusti.rc @@ -11,7 +11,7 @@ // rusti - REPL using the JIT backend #[link(name = "rusti", - vers = "0.5", + vers = "0.6", uuid = "7fb5bf52-7d45-4fee-8325-5ad3311149fc", url = "https://github.com/mozilla/rust/tree/master/src/rusti")]; @@ -22,10 +22,10 @@ #[allow(vecs_implicitly_copyable, non_implicitly_copyable_typarams)]; -extern mod core(vers = "0.5"); -extern mod std(vers = "0.5"); -extern mod rustc(vers = "0.5"); -extern mod syntax(vers = "0.5"); +extern mod core(vers = "0.6"); +extern mod std(vers = "0.6"); +extern mod rustc(vers = "0.6"); +extern mod syntax(vers = "0.6"); use core::*; use core::io::{ReaderUtil, WriterUtil}; diff --git a/src/libstd/std.rc b/src/libstd/std.rc index eb3a7410828..f3781c38676 100644 --- a/src/libstd/std.rc +++ b/src/libstd/std.rc @@ -18,7 +18,7 @@ not required in or otherwise suitable for the core library. */ #[link(name = "std", - vers = "0.5", + vers = "0.6", uuid = "122bed0b-c19b-4b82-b0b7-7ae8aead7297", url = "https://github.com/mozilla/rust/tree/master/src/libstd")]; @@ -35,7 +35,7 @@ not required in or otherwise suitable for the core library. #[allow(deprecated_mode)]; #[forbid(deprecated_pattern)]; -extern mod core(vers = "0.5"); +extern mod core(vers = "0.6"); use core::*; // General io and system-services modules diff --git a/src/libsyntax/syntax.rc b/src/libsyntax/syntax.rc index 522e46422d6..687504b873e 100644 --- a/src/libsyntax/syntax.rc +++ b/src/libsyntax/syntax.rc @@ -9,7 +9,7 @@ // except according to those terms. #[link(name = "syntax", - vers = "0.5", + vers = "0.6", uuid = "9311401b-d6ea-4cd9-a1d9-61f89499c645")]; @@ -26,8 +26,8 @@ #[allow(deprecated_mode)]; #[warn(deprecated_pattern)]; -extern mod core(vers = "0.5"); -extern mod std(vers = "0.5"); +extern mod core(vers = "0.6"); +extern mod std(vers = "0.6"); use core::*; diff --git a/src/test/run-pass/use.rs b/src/test/run-pass/use.rs index d58c168e7cd..0afac13303d 100644 --- a/src/test/run-pass/use.rs +++ b/src/test/run-pass/use.rs @@ -13,7 +13,7 @@ #[no_core]; extern mod core; extern mod zed(name = "core"); -extern mod bar(name = "core", vers = "0.5"); +extern mod bar(name = "core", vers = "0.6"); use core::str;