Skip to content

Commit

Permalink
Make it possible to link NativeAOT outputs (dotnet#72)
Browse files Browse the repository at this point in the history
Fixes issues with missing symbols.

Take out a piece of the type loader that requires System.Private.TypeLoader.Native that we didn't bring over for now.

isa_detection.cpp doesn't build in NativeAOT because it doesn't include any headers that would define things like WszLoadLibraryEx or LOAD_LIBRARY_SEARCH_SYSTEM32. It feels like this needs to be factored to use GCToOSInterface but this is not my area of expertise.

Remove reference to __fail_fast that was deleted as part of getting rid of cppcodegen in dotnet#21.
  • Loading branch information
MichalStrehovsky committed Aug 28, 2020
1 parent 3c109fb commit 91d202f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 543 deletions.
2 changes: 1 addition & 1 deletion src/coreclr/src/gc/gc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include "gcpriv.h"

#if defined(TARGET_AMD64) && defined(TARGET_WINDOWS)
#if defined(TARGET_AMD64) && defined(TARGET_WINDOWS) && !defined(FEATURE_REDHAWK)
#define USE_VXSORT
#else
#define USE_INTROSORT
Expand Down
Loading

0 comments on commit 91d202f

Please sign in to comment.