mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +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
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;
|
|
}
|