Skip to content

Register new snapshots #347

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 8, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 35 additions & 33 deletions src/cargo/ops/cargo_rustc/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,46 +3,48 @@
//! The directory layout is a little tricky at times, hence a separate file to
//! house this logic. The current layout looks like this:
//!
//! # This is the root directory for all output, the top-level package
//! # places all of its output here.
//! target/
//! ```ignore
//! # This is the root directory for all output, the top-level package
//! # places all of its output here.
//! target/
//!
//! # This is the root directory for all output of *dependencies*
//! deps/
//! # This is the root directory for all output of *dependencies*
//! deps/
//!
//! # This is the location at which the output of all custom build
//! # commands are rooted
//! native/
//! # This is the location at which the output of all custom build
//! # commands are rooted
//! native/
//!
//! # Each package gets its own directory for where its output is
//! # placed. We can't track exactly what's getting put in here, so
//! # we just assume that all relevant output is in these
//! # directories.
//! $pkg1/
//! $pkg2/
//! $pkg3/
//! # Each package gets its own directory for where its output is
//! # placed. We can't track exactly what's getting put in here, so
//! # we just assume that all relevant output is in these
//! # directories.
//! $pkg1/
//! $pkg2/
//! $pkg3/
//!
//! # Hidden directory that holds all of the fingerprint files for all
//! # packages
//! .fingerprint/
//! # Hidden directory that holds all of the fingerprint files for all
//! # packages
//! .fingerprint/
//!
//! # This is a temporary directory as part of the build process. When a
//! # build starts, it initially moves the old `deps` directory to this
//! # location. This is done to ensure that there are no stale artifacts
//! # lying around in the build directory which may cause a build to
//! # succeed where it would fail elsewhere.
//! #
//! # If a package is determined to be fresh, its files are moved out of
//! # this directory and back into `deps`.
//! old-deps/
//! # This is a temporary directory as part of the build process. When a
//! # build starts, it initially moves the old `deps` directory to this
//! # location. This is done to ensure that there are no stale artifacts
//! # lying around in the build directory which may cause a build to
//! # succeed where it would fail elsewhere.
//! #
//! # If a package is determined to be fresh, its files are moved out of
//! # this directory and back into `deps`.
//! old-deps/
//!
//! # Similar to old-deps, this is where all of the output under
//! # `target/` is moved at the start of a build.
//! old-root/
//! # Similar to old-deps, this is where all of the output under
//! # `target/` is moved at the start of a build.
//! old-root/
//!
//! # Same as the two above old directories
//! old-native/
//! old-fingerprint/
//! # Same as the two above old directories
//! old-native/
//! old-fingerprint/
//! ```

use std::io;
use std::io::{fs, IoResult};
Expand Down
7 changes: 7 additions & 0 deletions src/snapshots.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2014-08-08
linux-i386 44207002e96c4f1309af70673966ee1e67938f5e
linux-x86_64 5dc5e5aa575814af2d4e40e9dcdca2c55b594bd1
macos-i386 5d1924057a0d56d033f32680f4b393cdd9c6805a
macos-x86_64 65462ea1e48cb4b4c57ff7e947cd2cc26a8f2723
winnt-i386 a481b15d35ab2e1d1dcd2f181a2566e097604ffc

2014-08-06
linux-i386 eb7c2a87b30db077f6f1c4ea724ebd0e5cc07d1c
linux-x86_64 1672657adb9012df2912bbb2f43466f1c6817e55
Expand Down