You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change how we write to stderr from CoreLib (dotnet#1377)
We write to stderr from CoreLib for two reasons:
1. FailFast
2. Unhandled exception (also FailFast in a way)
We're using a roundabout way to use `Console.Error.WriteLine` but that has problems for FailFast because we then don't fail fast enough (dotnet#1277).
This inlines enough of writing to stderr that we can get rid of System.Console dependency.
Fixesdotnet#1277.
Copy file name to clipboardExpand all lines: docs/using-nativeaot/optimizing.md
-1
Original file line number
Diff line number
Diff line change
@@ -49,5 +49,4 @@ Debugging symbols (data about your program required for debugging) is by default
49
49
No action is needed on Windows since the platform convention is to generate debug information into a separate file (`*.pdb`).
50
50
51
51
## Advanced options
52
-
*`<IlcDisableUnhandledExceptionExperience>true</IlcDisableUnhandledExceptionExperience>`: disables code that prints stack traces for unhandled exceptions to the console.
53
52
*`<IlcSystemModule>classlibmodule</IlcSystemModule>`: Name of the module which contains basic classes. When specified, disable automatic referencing of the `System.Private.CoreLib` and other libraries. See https://github.com/MichalStrehovsky/zerosharp for example of usage.
Copy file name to clipboardExpand all lines: src/libraries/System.Private.DeveloperExperience.Console/src/Internal/Runtime/CompilerHelpers/LibraryInitializer.cs
Copy file name to clipboardExpand all lines: src/libraries/System.Private.DeveloperExperience.Console/src/System.Private.DeveloperExperience.Console.csproj
0 commit comments