Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
cargo flags for smaller optimized builds
Browse files Browse the repository at this point in the history
  • Loading branch information
cabbage committed Jan 12, 2023
1 parent 32db924 commit 94729f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,9 @@ clap = { version = "3.2.19", features = ["derive"] }

[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2"

[profile.release]
strip = true
lto = true
panic = "abort"

2 changes: 1 addition & 1 deletion src/port_to_vsock_transparent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct Cli {
/// ip address of the proxy to be set up <ip:port>
#[clap(short, long, value_parser)]
ip_addr: String,
/// vsock address of the listener <cid:port>
/// vsock address of the listener <cid>
#[clap(short, long, value_parser)]
vsock: u32,
}
Expand Down

0 comments on commit 94729f0

Please sign in to comment.