Skip to content

Commit f17d40e

Browse files
authored
Add support for wasm and Mono AOT LLVM monikers to SDK Validator (#2538)
1 parent 59647c9 commit f17d40e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/BenchmarkDotNet/Validators/DotNetSdkVersionValidator.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,15 @@ private static string GetSdkVersionFromMoniker(RuntimeMoniker runtimeMoniker)
222222
RuntimeMoniker.Mono70 => "7.0",
223223
RuntimeMoniker.Mono80 => "8.0",
224224
RuntimeMoniker.Mono90 => "9.0",
225+
RuntimeMoniker.WasmNet50 => "5.0",
226+
RuntimeMoniker.WasmNet60 => "6.0",
227+
RuntimeMoniker.WasmNet70 => "7.0",
228+
RuntimeMoniker.WasmNet80 => "8.0",
229+
RuntimeMoniker.WasmNet90 => "9.0",
230+
RuntimeMoniker.MonoAOTLLVMNet60 => "6.0",
231+
RuntimeMoniker.MonoAOTLLVMNet70 => "7.0",
232+
RuntimeMoniker.MonoAOTLLVMNet80 => "8.0",
233+
RuntimeMoniker.MonoAOTLLVMNet90 => "9.0",
225234
_ => throw new NotImplementedException($"SDK version check not implemented for {runtimeMoniker}")
226235
};
227236
}

0 commit comments

Comments
 (0)