Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upMove Cargo onto stable Rust #1712
Conversation
rust-highfive
assigned
huonw
Jun 13, 2015
This comment has been minimized.
This comment has been minimized.
rust-highfive
commented
Jun 13, 2015
|
r? @huonw (rust_highfive has picked a reviewer for you, use r? to override) |
retep998
reviewed
Jun 13, 2015
|
|
||
| #[cfg(windows)] | ||
| fn set_file_times(p: &Path, atime: u64, mtime: u64) -> io::Result<()> { | ||
| extern crate kernel32; |
This comment has been minimized.
This comment has been minimized.
alexcrichton
force-pushed the
alexcrichton:run-cargo-on-stable
branch
from
bbe4bec
to
02293e9
Jun 14, 2015
chris-morgan
reviewed
Jun 14, 2015
| @@ -58,3 +58,7 @@ mod test_shell; | |||
| fn rustc_host() -> String { | |||
| cargo::ops::rustc_version("rustc").unwrap().1 | |||
| } | |||
|
|
|||
| fn is_nightly() -> bool { | |||
| cargo::ops::rustc_version("rustc").unwrap().0.contains("-nightly") | |||
This comment has been minimized.
This comment has been minimized.
chris-morgan
Jun 14, 2015
Member
Would not a development build (-dev) would satisfy the intent of the is_nightly check also (viz. using unstable features)?
wizeman
referenced this pull request
Jun 16, 2015
Closed
`rustPlatform` builds Rust Twice at different versions #7969
This comment has been minimized.
This comment has been minimized.
|
r=me with @chris-morgan's comment addressed. |
alexcrichton
force-pushed the
alexcrichton:run-cargo-on-stable
branch
from
02293e9
to
dab6e56
Jun 16, 2015
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Jun 16, 2015
This comment has been minimized.
This comment has been minimized.
|
|
alexcrichton
force-pushed the
alexcrichton:run-cargo-on-stable
branch
from
dab6e56
to
8453a90
Jun 17, 2015
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Jun 17, 2015
This comment has been minimized.
This comment has been minimized.
|
|
alexcrichton
force-pushed the
alexcrichton:run-cargo-on-stable
branch
from
8453a90
to
7c2d1a5
Jun 17, 2015
This comment has been minimized.
This comment has been minimized.
|
@bors: r=brson On Tue, Jun 16, 2015 at 10:16 PM, bors notifications@github.com wrote:
|
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Jun 17, 2015
This comment has been minimized.
This comment has been minimized.
|
|
alexcrichton
force-pushed the
alexcrichton:run-cargo-on-stable
branch
from
7c2d1a5
to
23762e4
Jun 17, 2015
This comment has been minimized.
This comment has been minimized.
|
@bors: r=brson On Tue, Jun 16, 2015 at 10:30 PM, bors notifications@github.com wrote:
|
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Jun 17, 2015
This comment has been minimized.
This comment has been minimized.
|
|
alexcrichton commentedJun 13, 2015
This commit moves Cargo onto 100% stable Rust now that the necessary fs features
have been stabilized. The tests were updated to understand when they're running
with a non-nightly compiler and disable all plugin-related tests. The only major
feature here is that the calls to
fs::set_file_timeswere reimplementedmanually in the tests that Cargo has.
Cargo still requires a nightly compiler due to the stable features not having
made their way into the stable channel yet, but it will soon work on all of the
stable, beta, and nightly compilers once 1.1 is released!