Class NativeAotToolchain
Implements
Inherited Members
Namespace: BenchmarkDotNet.Toolchains.NativeAot
Assembly: BenchmarkDotNet.dll
Syntax
public class NativeAotToolchain : Toolchain, IToolchain
Fields
Net60
compiled as net6.0, targets experimental 6.0.0-* NativeAOT build from the https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-experimental/nuget/v3/index.json
Declaration
public static readonly IToolchain Net60
Field Value
Type | Description |
---|---|
IToolchain |
Net70
compiled as net7.0, targets latest (7.0.0-*) NativeAOT build from the .NET 7 feed: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json
Declaration
public static readonly IToolchain Net70
Field Value
Type | Description |
---|---|
IToolchain |
Methods
CreateBuilder()
Declaration
public static NativeAotToolchainBuilder CreateBuilder()
Returns
Type | Description |
---|---|
NativeAotToolchainBuilder |
GetExtraArguments(String)
Declaration
public static string GetExtraArguments(string runtimeIdentifier)
Parameters
Type | Name | Description |
---|---|---|
String | runtimeIdentifier |
Returns
Type | Description |
---|---|
String |