authorgravatar for maci.stgn@gmail.comMarcel W. Wysocki <maci.stgn@gmail.com> 2026-02-16 14:31:49+08:00
committergravatar for maci.stgn@gmail.comMarcel W. Wysocki <maci.stgn@gmail.com> 2026-02-16 19:42:13+08:00
log0e45a449914e0170179301f721bb2025cac363aa
treea044bb51deb6fac9aa479935c90ce0d7dfaf3bee
parent27eec9bd62d126f2288ccf7b6f78dc38291cd2ed

cc: disable implicit runtimes with -nostdlib, matching clang


1 files changed, 2 insertions(+), 0 deletions(-)

src/main.zig+2
...@@ -2078,6 +2078,8 @@ fn buildOutputType(...@@ -2078,6 +2078,8 @@ fn buildOutputType(
2078 .nostdlib => {2078 .nostdlib => {
2079 create_module.opts.ensure_libc_on_non_freestanding = false;2079 create_module.opts.ensure_libc_on_non_freestanding = false;
2080 create_module.opts.ensure_libcpp_on_non_freestanding = false;2080 create_module.opts.ensure_libcpp_on_non_freestanding = false;
2081 want_compiler_rt = false;
2082 want_ubsan_rt = false;
2081 },2083 },
2082 .nostdlib_cpp => create_module.opts.ensure_libcpp_on_non_freestanding = false,2084 .nostdlib_cpp => create_module.opts.ensure_libcpp_on_non_freestanding = false,
2083 .shared => {2085 .shared => {