mirror of
https://github.com/ziglang/zig.git
synced 2025-12-25 15:43:06 +00:00
Package.Module: fix typo in default red-zone setting
oops, this was supposed to return true, not false.
This commit is contained in:
parent
41ab64c3eb
commit
edccd68adf
@ -187,7 +187,7 @@ pub fn create(arena: Allocator, options: CreateOptions) !*Package.Module {
|
||||
if (!target_util.hasRedZone(target)) {
|
||||
if (options.inherited.red_zone == true)
|
||||
return error.TargetHasNoRedZone;
|
||||
break :b true;
|
||||
break :b false;
|
||||
}
|
||||
if (options.inherited.red_zone) |x| break :b x;
|
||||
if (options.parent) |p| break :b p.red_zone;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user