Skip to content

Commit 9bd8535

Browse files
committed
Only generate the system module in C# generators.
1 parent 6881a58 commit 9bd8535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generator/Generator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public virtual List<GeneratorOutput> Generate()
8585
{
8686
GenerateTemplates(outputs, units.Where(u => !u.IsSystemHeader));
8787

88-
if (Context.Options.SystemModule != null)
88+
if (Context.Options.IsCSharpGenerator && Context.Options.SystemModule != null)
8989
outputs.Add(GenerateModuleTemplate(Context.Options.SystemModule));
9090
}
9191

0 commit comments

Comments
 (0)