We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83f2c4d commit 258129aCopy full SHA for 258129a
src/CLI/Generator.cs
@@ -90,6 +90,13 @@ public bool ValidateOptions(List<string> messages)
90
91
options.Platform ??= Platform.Host;
92
93
+ if (options.Architecture is TargetArchitecture.WASM32 or TargetArchitecture.WASM64 &&
94
+ options.Platform is not TargetPlatform.Emscripten)
95
+ {
96
+ messages.Add("Please set Emscripten platform for WASM architectures.");
97
+ return false;
98
+ }
99
+
100
if (string.IsNullOrEmpty(options.OutputDir))
101
{
102
options.OutputDir = Path.Combine(Directory.GetCurrentDirectory(), "gen");
0 commit comments