Skip to content

Commit d47c41b

Browse files
committed
Fix expected size for NativeAot
1 parent 12319a0 commit d47c41b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/XenoAtom.CommandLine.Tests/NativeAotSizeTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ public void PublishAot_Size_IsUnderLimit()
5050
//Console.WriteLine($"Executable size: {exeSize:N0} bytes");
5151
// NativeAOT output size is sensitive to SDK/toolchain changes (even between patch versions).
5252
long maxBytes = OperatingSystem.IsWindows() ? 1_300_000 :
53-
OperatingSystem.IsMacOS() ? 1_450_000 :
54-
1_500_000; // Linux (To check);
53+
OperatingSystem.IsMacOS() ? 1_470_000 :
54+
1_520_000; // Linux (To check);
5555
Assert.IsLessThanOrEqualTo(maxBytes, exeSize, $"NativeAOT size regression: {exeSize:N0} bytes > {maxBytes:N0} bytes. Output: `{exePath}`");
5656
}
5757

0 commit comments

Comments
 (0)