-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Static linking of native libs #44505
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
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
1c0b32b
from prototype
VSadov 4adfaa6
fix OSX
VSadov 0facc65
fix for Android
VSadov a2ab07c
treat "libSystem.Globalization.Native" as QCall in mono too (for now).
VSadov 2b2f800
fix for wasm
VSadov 8c4e514
current
VSadov 6e584b4
remove no longer needed hacks
VSadov ba71464
Undo confusing changes for now
VSadov 4563d69
fix pedantic errors on GCC
VSadov 51281d6
delete gPalGlobalizationNative
VSadov 25369f4
pass overrider from the host
VSadov e6fca93
default override
VSadov c11612f
default PInvoke override runs after optional host-provided overrider.
VSadov d3f4abe
Some PR feedback (mostly related to code, not the CMake stuff).
VSadov 79453c7
more coding PR feedback
VSadov becda0e
Deleted "libraries-native" folder.
VSadov 932b5fe
unifying tryrun.cmake into 1 common file
VSadov 3f5cea9
factor out adding lib-specific dependencies into one place (per nativ…
VSadov 8d2b6b9
cleanup: entirely remove tryrun.cmake propagation in eng, gen-buildsy…
VSadov 9b7476f
remove "clrcompression.dll" and "libSystem.IO.Compression.Native.dyli…
VSadov 8a02254
mono: refactor Globalization lookup into `default_resolve_dllimport`.
VSadov f22e9fd
set FEATURE_DISTRO_AGNOSTIC_SSL according to __PortableBuild
VSadov e539a1a
CORECLR_CALLING_CONVENTION for the host callback types
VSadov 06dad00
revert change in pal_gssapi.h
VSadov ac026ba
keep the #include "pal_config.h"
VSadov eb62c4a
refactor common parts of entrypoints.c into entrypoints.h
VSadov 2f45a47
rename OverrideEntry --> DllImportEntry
VSadov 7b2bdef
extra libs as CMake functions
VSadov 7ab3211
use macros instead of functions in extra_libs.cmake
VSadov 7bf0a63
mono formatting style in src/mono/mono/metadata/native-library.c
VSadov d3a15fa
mono: Remaining stylistic nits.
VSadov 6c55b68
do not set DFEATURE_DISTRO_AGNOSTIC_SSL on iOS, Android, tvOS
VSadov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| // Licensed to the .NET Foundation under one or more agreements. | ||
| // The .NET Foundation licenses this file to you under the MIT license. | ||
|
|
||
| /***************************************************************************** | ||
| ** ** | ||
| ** pinvokeoverride.h - PInvoke binding override ** | ||
| ** ** | ||
| *****************************************************************************/ | ||
|
|
||
| #ifndef _PINVOKEOVERRIDE_H_ | ||
| #define _PINVOKEOVERRIDE_H_ | ||
|
|
||
| #include "coreclrhost.h" | ||
|
|
||
| class PInvokeOverride | ||
| { | ||
| public: | ||
| static void SetPInvokeOverride(PInvokeOverrideFn* overrideImpl); | ||
| static const void* GetMethodImpl(const char* libraryName, const char* entrypointName); | ||
| }; | ||
|
|
||
| #endif // _PINVOKEOVERRIDE_H_ |
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.