Skip to content

Commit 3fa2359

Browse files
committed
dont include stdio.h explicitly
1 parent af6e88e commit 3fa2359

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

build.zig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,15 +1073,13 @@ pub fn build(b: *std.Build) !void {
10731073
//
10741074

10751075
const translate_c = b.addTranslateC(.{
1076+
// every header needed to use MRuby, add more as needed
10761077
.root_source_file = b.addWriteFiles().add("input.c",
1077-
// add more headers as needed
10781078
\\#include <mruby.h>
10791079
\\#include <mruby/compile.h>
10801080
\\#include <mruby/data.h>
10811081
\\#include <mruby/string.h>
10821082
\\#include <mruby/variable.h>
1083-
\\
1084-
\\#include <stdio.h>
10851083
),
10861084
.target = b.host,
10871085
.optimize = .ReleaseFast,

0 commit comments

Comments
 (0)