diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-04-02 14:36:21 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-05-12 17:08:22 +0200 |
| commit | 9d8adb38a18169a16707acac2812dd6850de99be (patch) | |
| tree | d7d545b25e4993d9c5358f3e111a9aeaacfa1a63 /lib/std/Build/Step/Compile.zig | |
| parent | aa7c6dcac1c87d892156daf210620f999d9838f3 (diff) | |
| download | zig-9d8adb38a18169a16707acac2812dd6850de99be.tar.gz zig-9d8adb38a18169a16707acac2812dd6850de99be.zip | |
std.Build: Make no_builtin a property of Module instead of Step.Compile.
This reflects how the compiler actually treats it.
Closes #23424.
Diffstat (limited to 'lib/std/Build/Step/Compile.zig')
| -rw-r--r-- | lib/std/Build/Step/Compile.zig | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/std/Build/Step/Compile.zig b/lib/std/Build/Step/Compile.zig index 04e68065c3..066167905d 100644 --- a/lib/std/Build/Step/Compile.zig +++ b/lib/std/Build/Step/Compile.zig @@ -229,8 +229,6 @@ is_linking_libc: bool = false, /// Computed during make(). is_linking_libcpp: bool = false, -no_builtin: ?bool = null, - /// Populated during the make phase when there is a long-lived compiler process. /// Managed by the build runner, not user build script. zig_process: ?*Step.ZigProcess, @@ -1646,10 +1644,6 @@ fn getZigArgs(compile: *Compile, fuzz: bool) ![][]const u8 { } } - if (compile.no_builtin) |enabled| { - try zig_args.append(if (enabled) "-fbuiltin" else "-fno-builtin"); - } - if (b.sysroot) |sysroot| { try zig_args.appendSlice(&[_][]const u8{ "--sysroot", sysroot }); } |
