Skip to content

Commit

Permalink
Add support for wasm and Mono AOT LLVM monikers to SDK Validator (#2538)
Browse files Browse the repository at this point in the history
  • Loading branch information
caaavik-msft committed Mar 5, 2024
1 parent 59647c9 commit f17d40e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/BenchmarkDotNet/Validators/DotNetSdkVersionValidator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,15 @@ private static string GetSdkVersionFromMoniker(RuntimeMoniker runtimeMoniker)
RuntimeMoniker.Mono70 => "7.0",
RuntimeMoniker.Mono80 => "8.0",
RuntimeMoniker.Mono90 => "9.0",
RuntimeMoniker.WasmNet50 => "5.0",
RuntimeMoniker.WasmNet60 => "6.0",
RuntimeMoniker.WasmNet70 => "7.0",
RuntimeMoniker.WasmNet80 => "8.0",
RuntimeMoniker.WasmNet90 => "9.0",
RuntimeMoniker.MonoAOTLLVMNet60 => "6.0",
RuntimeMoniker.MonoAOTLLVMNet70 => "7.0",
RuntimeMoniker.MonoAOTLLVMNet80 => "8.0",
RuntimeMoniker.MonoAOTLLVMNet90 => "9.0",
_ => throw new NotImplementedException($"SDK version check not implemented for {runtimeMoniker}")
};
}
Expand Down

0 comments on commit f17d40e

Please sign in to comment.