https://github.com/kdar/cargo-first
A cargo subcommand to stop execution after the first error
https://github.com/kdar/cargo-first
cargo-subcommand
Last synced: 4 months ago
JSON representation
A cargo subcommand to stop execution after the first error
- Host: GitHub
- URL: https://github.com/kdar/cargo-first
- Owner: kdar
- License: mit
- Created: 2019-07-14T07:08:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-24T18:14:33.000Z (over 6 years ago)
- Last Synced: 2024-04-24T15:09:55.840Z (over 1 year ago)
- Topics: cargo-subcommand
- Language: Rust
- Size: 9.77 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cargo-first
A cargo subcommand to stop execution after the first error. This is a stop-gap until there is proper support in rustc: https://github.com/rust-lang/rust/issues/27189.
This is a very simple tool and may not catch all edge cases. Please submit an issue if you find a problem.
## Usage
cargo first [command args...]
## Example
```
$ cargo first build
Compiling adbridge v0.1.0 (/home/kdar/dev/adbridge)
error[E0432]: unresolved import `types::Device`
--> src/lib.rs:12:13
|
12 | use types::{Device, DeviceDescriptor, DeviceState, Status};
| ^^^^^^ no `Device` in `types`
```
## License
Distributed under the MIT license. See `LICENSE` for more information.
## Contributing
1. Fork it ()
2. Create your feature branch (`git checkout -b feature/fooBar`)
3. Commit your changes (`git commit -am 'Add some fooBar'`)
4. Push to the branch (`git push origin feature/fooBar`)
5. Create a new Pull Request