-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added rust tool similar to go's go tool #5014
Conversation
Just noticed that I forgot to actually run Edit: Getting those warnings on
I guess I have to modify the makefile definition responsible for those target triples to use |
…tratected doc 'rust'
Made the warnings go away, letting |
|
This implements a rust tool similar to go's go tool. It acts as a central hub for the tools rustc, rustdoc, rustpkg, rusti, and also provides shortcuts for directly compiling and running a source file either as a normal or a test executable. Default usage message: ``` The rust tool is a convenience for managing rust source code. It acts as a shortcut for programs of the rust tool chain. Usage: rust <command> [arguments] The commands are: build compile rust source files run build a executable, and run it test build a test executable, and run it doc generate documentation from doc comments pkg download, build, install rust packages sketch run a rust interpreter help show detailed usage of a command Use "rust help <command>" for more information about a command. ```
Fix redundant_clone lint not working with PathBuf and OsString rust-lang/rust-clippy#4825 diabled MIR optimization in clippy, including `rustc_mir::transform::InstCombine` which reduces `&(*x)` to `x`. This PR tries to unwrap `&*` when looking into `mir::Rvalue`s. Fixes rust-lang#5014. --- changelog: fixed `redundant_clone` lint not working with `PathBuf` and `OsString`
This implements a rust tool similar to go's go tool. It acts as a central hub for the tools rustc, rustdoc, rustpkg, rusti, and also provides shortcuts for directly compiling and running a source file either as a normal or a test executable. Default usage message: