https://github.com/odarbelaeze/add-rs
Incredibly complicated code to add a couple numbers.
https://github.com/odarbelaeze/add-rs
Last synced: 5 months ago
JSON representation
Incredibly complicated code to add a couple numbers.
- Host: GitHub
- URL: https://github.com/odarbelaeze/add-rs
- Owner: odarbelaeze
- Created: 2019-04-26T13:17:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-29T12:18:07.000Z (over 6 years ago)
- Last Synced: 2024-12-26T07:28:10.912Z (10 months ago)
- Language: Rust
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# add-rs
The most advanced code to add a couple of numbers.
## Downloads
You can get a fully static binary of the `add` code that will run in any
linux computer in the [releases page][releases].## Usage
```
Add.Adds two numbers and .
Usage:
add
add (-h | --help)Options:
-h --help Show this screen.
```Sample run,
```bash
$ add 1 3.5
4.5
```## Create a completely static linux binary
Using [Rust's musl support for fully static binaries][rust-musl] you can
create a fully static binary that would run on any linux platform, using
the following commands:```
rustup target add x86_64-unknown-linux-musl
cargo build --target x86_64-unknown-linux-musl --release
```[rust-musl]: https://doc.rust-lang.org/edition-guide/rust-2018/platform-and-target-support/musl-support-for-fully-static-binaries.html
[releases]: https://github.com/odarbelaeze/add-rs/releases