项目作者: kdar

项目描述 :
A cargo subcommand to stop execution after the first error
高级语言: Rust
项目地址: git://github.com/kdar/cargo-first.git
创建时间: 2019-07-14T07:08:10Z
项目社区:https://github.com/kdar/cargo-first

开源协议:MIT License

下载


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

  1. $ cargo first build
  2. Compiling adbridge v0.1.0 (/home/kdar/dev/adbridge)
  3. error[E0432]: unresolved import `types::Device`
  4. --> src/lib.rs:12:13
  5. |
  6. 12 | use types::{Device, DeviceDescriptor, DeviceState, Status};
  7. | ^^^^^^ no `Device` in `types`

License

Distributed under the MIT license. See LICENSE for more information.

Contributing

  1. Fork it (https://github.com/kdar/cargo-first/fork)
  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