Fix building bindings-only cross-platform with dotnet7

This commit is contained in:
Wojtek Figat
2023-04-18 20:25:06 +02:00
parent ca48d60627
commit 644eb35b97
4 changed files with 9 additions and 5 deletions

View File

@@ -39,6 +39,8 @@ namespace Flax.Build
{
if (name.Contains(":"))
throw new NotImplementedException("No nested types mangling support.");
if (buildData.Toolchain == null)
return name; // Ignore when building C# bindings only without native toolchain
var sb = BindingsGenerator.GetStringBuilder();
switch (buildData.Toolchain.Compiler)
{