-
Notifications
You must be signed in to change notification settings - Fork 214
Make libraries build with Native AOT corelib #70
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
Make libraries build with Native AOT corelib #70
Conversation
jkotas
left a comment
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.
Thanks!
src/coreclr/src/nativeaot/System.Private.CoreLib/src/System/Diagnostics/StackFrameExtensions.cs
Show resolved
Hide resolved
| { | ||
| public static partial class Environment | ||
| { | ||
| #pragma warning disable CS8763 // A method marked [DoesNotReturn] should not return. |
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.
Is this needed when ExitProcess is marked DoesNotReturn? Sounds like a bug.
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.
Yes it does sound like a bug, but I couldn't quickly make an isolated repro in VS with shipping Roslyn and my level of caring for nullable analysis is next to zero so I didn't spend more time on it.
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.
Ok, it is weird that it works everywhere else. Wasn't it just an oversight?
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.
I'll try to submit it without this suppression, but I'm pretty sure I was getting build failure without this suppression and the DllImport is annotated.
Of course it cannot, because the runtime was built into "Windows_NT.x64.Checked", but libs apparently don't know what "checked" is.
Edit: Seems like I got it working. |
This is causing trouble with the Utf8String package.
Now the PowerShell scripts can optionally convert the collected logs to text automatically.
They should be in artifacts/testcases (and not in artifacts/bin/testcases).
No description provided.