1 Star 13 Fork 1

Sai Zeng / rust-run

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Rust Run

An easy way to compile and run rust source file as script language.

#install#

  1. You need install git, rust and cargo first. Please refer to http://www.rust-lang.org and http://www.creates.io .
  2. clone this repo and complie.
git clone https://git.oschina.net/zengsai/rust-run.git
cd rust-run
cargo build

#usage#

rust-run [rust-options] [srcfile.rs [options-for-srcfile]]

if no srcfile.rs given, rust-run == rustc.

#trick#

using alias for convinent, add the following line to your .bashrc or .profile:

alias r='rust-run'

Comments ( 1 )

Sign in for post a comment

About

编译并执行rust程序的辅助小软件,让你像脚本语言一样开发rust程序。 spread retract
Rust
MIT
Cancel

Releases

No release

Gitee Metrics

Contributors

All

Activities

load more
can not load any more
Rust
1
https://git.oschina.net/zengsai/rust-run.git
git@git.oschina.net:zengsai/rust-run.git
zengsai
rust-run
rust-run
master

Search