https://github.com/jaytwolab/hello-rust
Hello, world! boilerplate code
https://github.com/jaytwolab/hello-rust
Last synced: 2 months ago
JSON representation
Hello, world! boilerplate code
- Host: GitHub
- URL: https://github.com/jaytwolab/hello-rust
- Owner: JayTwoLab
- Created: 2019-12-06T12:19:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-06T12:58:01.000Z (over 5 years ago)
- Last Synced: 2025-03-19T04:36:00.412Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hello-rust
- Hello, rust!
- ```.gitignore``` for rust is updated.
## Hello World
- Create new project
```
cargo new helloworld
```- Build project (default debug build)
```
cd helloworld
cargo build
```- Build project using 'Release build'
```
cargo build --release
```- Run project
- run default build(debug build)
```
cargo run
```- run release build
```
cargo run --release
```