mirror of https://github.com/rust-lang/rust.git
bump 0.5 => 0.6, redirect some URLs in docs.
This commit is contained in:
parent
2fd8ebd03a
commit
dbd36111fe
|
@ -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)),)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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::*;
|
||||
|
||||
|
|
|
@ -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() }
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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.);
|
||||
|
|
|
@ -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::*;
|
||||
|
||||
|
|
|
@ -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::*;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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::*;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue