Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Lorenzo Mangani <[email protected]>
  • Loading branch information
lmangani authored Jun 4, 2023
1 parent 77c12c4 commit a458811
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions examples/rust/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,13 @@ Example gRPC Flight SQL API client using rust
cargo build
cargo run
```

#### Static
```bash
RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-unknown-linux-gnu
```
```bash
ldd ./target/x86_64-unknown-linux-gnu/release/iox-client
statically linked

```

0 comments on commit a458811

Please sign in to comment.