DOTNET_CLI_ENABLEAOT: enabled by default on all platforms#54735
Open
baronfel wants to merge 2 commits into
Open
DOTNET_CLI_ENABLEAOT: enabled by default on all platforms#54735baronfel wants to merge 2 commits into
baronfel wants to merge 2 commits into
Conversation
The command-line parsing crash (dotnet/command-line-api#2812) that had kept the AOT CLI fast path disabled by default on macOS and Linux has been fixed upstream (dotnet/command-line-api#2820) and flowed into the SDK. Update the note to state the default is now true on all platforms.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the .NET CLI environment variable reference to reflect that DOTNET_CLI_ENABLEAOT’s NativeAOT fast path is enabled by default across Windows, macOS, and Linux starting with .NET 11 Preview 7, aligning the docs with the upstream fix and SDK behavior.
Changes:
- Updates the
DOTNET_CLI_ENABLEAOTnote to state the fast path is enabled by default on all platforms starting in .NET 11 Preview 7. - Removes the prior macOS/Linux-disabled caveat and the early opt-in guidance that’s no longer applicable.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #54649.
The command-line parsing crash (dotnet/command-line-api#2812) that had kept the
DOTNET_CLI_ENABLEAOTfast path disabled by default on macOS and Linux has been fixed upstream (dotnet/command-line-api#2820) and has flowed into the .NET SDK (viaSystem.CommandLine3.0.0-preview.7.26359.117).This updates the note so it states the fast path is enabled by default (
true) on all platforms starting in .NET 11 Preview 7, and removes the macOS/Linux-disabled caveat and the now-obsolete opt-in-early guidance.Tracks the SDK change in dotnet/sdk#55144 and the breaking-change issue #54650.
Internal previews