mirror of
https://github.com/mikkelam/fast-cli.git
synced 2025-12-18 21:04:05 +00:00
add stripping to non-debug builds
This commit is contained in:
parent
d93107134f
commit
362648f78b
2 changed files with 2 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ A blazingly fast CLI tool for testing internet speed uses fast.com v2 api. Writt
|
||||||
|
|
||||||
## Why fast-cli?
|
## Why fast-cli?
|
||||||
|
|
||||||
- **Tiny binary**: Just 1.4 MiB, no runtime dependencies
|
- **Tiny binary**: Just 1.2 MiB, no runtime dependencies
|
||||||
- **Blazing fast**: Concurrent connections with adaptive chunk sizing
|
- **Blazing fast**: Concurrent connections with adaptive chunk sizing
|
||||||
- **Cross-platform**: Single binary for Linux, macOS, Windows
|
- **Cross-platform**: Single binary for Linux, macOS, Windows
|
||||||
- **Smart stopping**: Uses Coefficient of Variation (CoV) algorithm for adaptive test duration
|
- **Smart stopping**: Uses Coefficient of Variation (CoV) algorithm for adaptive test duration
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,7 @@ pub fn build(b: *std.Build) void {
|
||||||
.root_source_file = b.path("src/main.zig"),
|
.root_source_file = b.path("src/main.zig"),
|
||||||
.target = target,
|
.target = target,
|
||||||
.optimize = optimize,
|
.optimize = optimize,
|
||||||
|
.strip = optimize != .Debug,
|
||||||
});
|
});
|
||||||
|
|
||||||
exe.root_module.addImport("zli", mod_zli);
|
exe.root_module.addImport("zli", mod_zli);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue