mozilla/rust — pull request #9732 by catamorphism (2013-10-05 21:08:27+00:00)
Title: rustpkg: Make checked-out source files read-only, and overhaul where temporary files are stored

r? @metajack rustpkg now makes source files that it checks out automatically read-only, and stores
them under build/.

Also, refactored the `PkgSrc` type to keep track of separate source and destination
workspaces, as well as to have a `build_workspace` method that returns the workspace
to put temporary files in (usually the source, sometimes the destination -- see
comments for more details).

Closes #6480