Skip to content

Commit 1814f8a

Browse files
committed
Stop passing -Werror=date-time.
Zig does this by default now. Closes #38.
1 parent 5cdfc69 commit 1814f8a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/sdk/ZigCompile.cs

-2
Original file line numberDiff line numberDiff line change
@@ -550,10 +550,8 @@ void TryAppendWarningSwitch(string name)
550550
if (!TrustAnalysis)
551551
builder.AppendSwitch("-Wno-tcb-enforcement");
552552

553-
// TODO: https://github.com/vezel-dev/zig-sdk/issues/38
554553
if (Deterministic)
555554
{
556-
builder.AppendSwitch("-Werror=date-time");
557555
builder.AppendSwitch("-no-canonical-prefixes");
558556
builder.AppendSwitchIfNotNull("-fdebug-compilation-dir ", GetWorkingDirectory() ?? ".");
559557
}

0 commit comments

Comments
 (0)