mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
These were fixed during the last few commits too. The emit_llvm_no_bin test is renamed from the issue_12588 test. Closes #17484
6 lines
178 B
Zig
6 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;
|
|
}
|