rust-osdev / cargo-xbuild

Automatically cross-compiles the sysroot crates core, compiler_builtins, and alloc.
Apache License 2.0
260 stars 25 forks source link

xc, xb, xr, xt #41

Closed Aehmlo closed 5 years ago

Aehmlo commented 5 years ago

Cargo has four built-in command aliases1: c for check, b for build, r for run, and t for test. It would be consistent and useful during development for cargo-xbuild to provide x-prefixed versions of these (xc for xcheck, xb for xbuild, xr for xrun, and xt for xtest). I propose staying in sync with Cargo and only adding short aliases that exist there (e.g. not adding xdxdoc).

I know I can do this locally, but I'd like to have it provided by cargo-xbuild. I'd be happy to help out with the implementation work.

1See the bottom of the Cargo configuration key reference (yes, it's a bit of an odd place for this documentation to reside, but oh well).

phil-opp commented 5 years ago

Sounds good to me!