-
Notifications
You must be signed in to change notification settings - Fork 552
Enabling aot on samples with aot support published #100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| #:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj | ||
| #:property PublishAot=false | ||
|
|
||
| using GitHub.Copilot.SDK; | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,5 +1,4 @@ | ||||||||||||
| #:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj | ||||||||||||
|
||||||||||||
| #:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj | |
| #:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj | |
| // Note: AOT is enabled by default for this recipe. | |
| // To disable AOT (for example, during local development), add: | |
| // #:property PublishAot=false |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -1,5 +1,4 @@ | ||||||||
| #:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj | ||||||||
| #:property PublishAot=false | ||||||||
|
|
||||||||
|
||||||||
| // Note: AOT is enabled by default. To disable AOT for this recipe, add: | |
| // #:property PublishAot=false |
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,5 +1,4 @@ | ||||||||||||
| #:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj | ||||||||||||
| #:property PublishAot=false | ||||||||||||
|
|
||||||||||||
|
||||||||||||
| // Note: AOT (PublishAot) is enabled by default for this recipe. | |
| // To disable AOT, add the following directive above: | |
| // #:property PublishAot=false |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,5 +1,4 @@ | ||||||||||||||||||||
| #:project ../../../dotnet/src/GitHub.Copilot.SDK.csproj | ||||||||||||||||||||
| #:property PublishAot=false | ||||||||||||||||||||
|
|
||||||||||||||||||||
|
||||||||||||||||||||
| // NOTE: This recipe publishes with Native AOT enabled by default. | |
| // To disable AOT for this recipe (for example, if you hit platform or tooling | |
| // limitations), add the following directive at the top of this file: | |
| // | |
| // #:property PublishAot=false | |
| // | |
| // This overrides the default and publishes a non-AOT binary instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#:property PublishAot=falsewas removed here, but cookbook/dotnet/recipe/README.md still says each recipe includes that directive to disable AOT. Please update the README (and/or add a short note in these recipes) so users understand AOT is now enabled by default and how to opt out if needed.