Running mrustc/minicargo
========================
The easisest way to compile code with mrustc is to use `minicargo` to build a project using a Cargo.toml file, but if
you need extra control over the output, `mrustc` can be called directly.
minicargo
=========
```
minicargo mycrate/ -L ../libstd_crates --vendor-dir vendored/
```
The above builds the crate specified by `mycrate/Cargo.toml`, looking for compiled versions of the standard library crates in `../libstd_crates` and pre-downloaded crates.io packages in `vendored/`. The compiled crates (both `mycrate` and any of its dependencies) will be placed in the default location ( `output/`)
Options
-------
- `--help, -h`
- Show basic help
- `--script-overrides
`
- Folder containing `.txt` files that are used as if they were the output from that crate's build script (used for building libstd)
- `--vendor-dir `
- Directory containing extracted crates.io packages required to build the current crate (see [https://crates.io/crates/cargo-vendor](cargo-vendor))
- `--output-dir,-o `
- Specifies the output directory, used for both dependencies and the final binary.
- `--target `
- Cross-compile for the specified target
- `-L `
- Add a directory to the crate/library search path
- `-j `
- Run a specified number of build jobs at once
- `-n`
- Do a dry run (print the crates to be compiled, but don't build any of them)
- `-Z