Skip to content

Commit acb6f20

Browse files
authored
Make mono/wasm run on Windows (#1744)
Just log a warning about it. It eases development on Windows.
1 parent 6b475f6 commit acb6f20

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/BenchmarkDotNet/Toolchains/MonoWasm/WasmToolChain.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ public override bool IsSupported(BenchmarkCase benchmarkCase, ILogger logger, IR
2727
return false;
2828

2929
if (RuntimeInformation.IsWindows())
30-
{
31-
logger.WriteLineError($"{nameof(WasmToolChain)} is supported only on Unix, benchmark '{benchmarkCase.DisplayInfo}' will not be executed");
32-
return false;
33-
}
30+
logger.WriteLineInfo($"{nameof(WasmToolChain)} is supported only on Unix, benchmark '{benchmarkCase.DisplayInfo}' might not work correctly");
31+
3432
return true;
3533
}
3634

0 commit comments

Comments
 (0)