rust/src/librustpkg
bors a48ca3290d auto merge of #7262 : nikomatsakis/rust/ref-bindings-in-irrefut-patterns, r=catamorphism
Correct treatment of irrefutable patterns. The old code was wrong in many, many ways. `ref` bindings didn't work, it sometimes copied when it should have moved, the borrow checker didn't even look at such patterns at all, we weren't consistent about preventing values with destructors from being pulled apart, etc.

Fixes #3224.
Fixes #3225.
Fixes #3255.
Fixes #6225.
Fixes #6386.

r? @catamorphism
2013-07-08 18:49:46 -07:00
..
testsuite Great renaming: propagate throughout the rest of the codebase 2013-06-29 11:20:02 -04:00
api.rs Bring compiletest/rustpkg/driver up to date on std vs core 2013-07-04 16:30:48 -07:00
conditions.rs Great renaming: propagate throughout the rest of the codebase 2013-06-29 11:20:02 -04:00
context.rs Great renaming: propagate throughout the rest of the codebase 2013-06-29 11:20:02 -04:00
crate.rs Great renaming: propagate throughout the rest of the codebase 2013-06-29 11:20:02 -04:00
messages.rs Bring compiletest/rustpkg/driver up to date on std vs core 2013-07-04 16:30:48 -07:00
package_id.rs Great renaming: propagate throughout the rest of the codebase 2013-06-29 11:20:02 -04:00
package_path.rs Great renaming: propagate throughout the rest of the codebase 2013-06-29 11:20:02 -04:00
package_source.rs Patch up some new errors from rustpkg 2013-07-08 13:55:10 -04:00
path_util.rs Patch up some new errors from rustpkg 2013-07-08 13:55:10 -04:00
README.txt rustpkg: update README saying which tests pass 2013-04-24 17:51:30 -07:00
rustpkg.rs Bump version numbers to 0.8-pre 2013-07-08 10:25:45 -07:00
search.rs Great renaming: propagate throughout the rest of the codebase 2013-06-29 11:20:02 -04:00
target.rs rustc/rusti/rustpkg: Infer packages from extern mod directives 2013-06-01 18:48:07 -07:00
tests.rs remove some method resolve workarounds 2013-07-07 19:51:13 -04:00
usage.rs Great renaming: propagate throughout the rest of the codebase 2013-06-29 11:20:02 -04:00
util.rs Patch up some new errors from rustpkg 2013-07-08 13:55:10 -04:00
version.rs Great renaming: propagate throughout the rest of the codebase 2013-06-29 11:20:02 -04:00
workspace.rs Remove vec::{filter, filtered, filter_map, filter_mapped}, replaced by iterators. 2013-07-04 00:46:49 +10:00

Right now, commands that work are "build" and "clean".

`rustpkg build` and `rustpkg clean` should work

for example:
$ cd ~/rust/src/librustpkg/testsuite/pass
$ rustpkg build hello-world
... some output ...
$ rustpkg clean hello-world

-------------
the following test packages in librustpkg/testsuite/pass:
      * hello-world
      * install-paths
      * simple-lib
      * deeply/nested/path
      * fancy-lib

   It fails on the following test packages:
      * external-crate (no support for `extern mod` inference yet)

and should fail with proper error messages
on all of the test packages in librustpkg/testsuite/fail
      * no-inferred-crates