mirror of
https://github.com/ziglang/zig.git
synced 2025-12-11 00:33:08 +00:00
* `--verbose-llvm-ir` should trigger analysis and codegen * `-femit-asm` etc should trigger codegen even with `-fno-emit-bin` Closes #12588
7 lines
178 B
Zig
7 lines
178 B
Zig
const std = @import("std");
|
|
|
|
export fn strFromFloatHelp(float: f64) void {
|
|
var buf: [400]u8 = undefined;
|
|
_ = std.fmt.bufPrint(&buf, "{d}", .{float}) catch unreachable;
|
|
}
|