-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarch-wasmWebAssembly architectureWebAssembly architecturearea-System.Runtime
Milestone
Description
For WASM, we need to provide the capability to do runtime checks, which means we should provide an OSPlatform entry for it:
namespace System.Runtime.InteropServices
{
public partial enum Architecture
{
Wasm
}
public partial struct OSPlatform
{
public static OSPlatform Browser { get; } = new OSPlatform(nameof(Browser));
}
}@dotnet/fxdc @marek-safar @mhutch @lewing @SteveSandersonMS @danroth27
Metadata
Metadata
Assignees
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarch-wasmWebAssembly architectureWebAssembly architecturearea-System.Runtime