diff options
| author | wooster0 <wooster0@proton.me> | 2025-02-12 11:14:12 +0900 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-02-12 14:45:38 -0800 |
| commit | 5b9b5e45cb710ddaad1a97813d1619755eb35a98 (patch) | |
| tree | 1db06223e5497708c6aff027e2777419dff4ffc1 /src/codegen/llvm | |
| parent | de8741271f3dee0062d1c9319791687e5228e593 (diff) | |
| download | zig-5b9b5e45cb710ddaad1a97813d1619755eb35a98.tar.gz zig-5b9b5e45cb710ddaad1a97813d1619755eb35a98.zip | |
std.fmt.digits2: optimize for ReleaseSmall
Difference:
```
$ cat x.zig
const std = @import("std");
pub const std_options = std.Options{ .keep_sigpipe = true };
pub fn main() void {
std.io.getStdOut().writer().print("{d}\n", .{@intFromPtr(std.os.argv.ptr)}) catch {};
}
$ zig build-exe x.zig -OReleaseSmall -fsingle-threaded -fno-unwind-tables && wc -c x
2576 x
$ zig build-exe x.zig -OReleaseSmall -fsingle-threaded -fno-unwind-tables --zig-lib-dir ../zig/lib && wc -c x
2424 x
```
Diffstat (limited to 'src/codegen/llvm')
0 files changed, 0 insertions, 0 deletions
