]> git.lizzy.rs Git - rust.git/commit
rustpkg: Pass command-line arguments to rustc
authorTim Chevalier <chevalier@alum.wellesley.edu>
Tue, 10 Sep 2013 18:41:05 +0000 (11:41 -0700)
committerTim Chevalier <chevalier@alum.wellesley.edu>
Tue, 10 Sep 2013 23:42:41 +0000 (16:42 -0700)
commitad43613346a5702b84e3a32b39395258e32b1037
tree6eafa1b1967045284a5cf7c952bfa64c91d1e343
parenta9ac27270f9ce20aaf6424f6de5128351c70659e
rustpkg: Pass command-line arguments to rustc

rustpkg now accepts most of rustc's command-line arguments and passes
them along to rustc when building or installing.

A few rarely-used arguments aren't implemented yet.

rustpkg doesn't support flags that don't make sense with rustpkg
(for example, --bin and --lib, which get inferred from crate file names).

Closes #8522
src/librustpkg/api.rs
src/librustpkg/context.rs
src/librustpkg/rustpkg.rs
src/librustpkg/tests.rs
src/librustpkg/usage.rs
src/librustpkg/util.rs