-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Move linker to runtime #77149
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
Closed
Closed
Move linker to runtime #77149
Changes from all commits
Commits
Show all changes
2565 commits
Select commit
Hold shift + click to select a range
5fcf5b2
Add EnableAotAnalyzer as compiler visible
tlakollo 0bea8ef
Merge pull request dotnet/linker#2655 from dotnet/tlakollo-patch-1
tlakollo 633b42e
Understand String.Empty (dotnet/linker#2653)
sbomer 8f9ee45
Fix Typo in test failure warning (dotnet/linker#2660)
jtschuster f5f5782
Share intrinsic handling of GetMember and similar APIs (dotnet/linker…
vitek-karas 53dd873
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] c9a7186
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] 92d9b50
Fix behavior of intrinsics with empty inputs (dotnet/linker#2652)
sbomer 523e771
Remove mention of PreserveDependencyAttribute from docs (dotnet/linke…
sbomer 27fcd6b
Share intrinsics for Expression.Property and Field (dotnet/linker#2671)
vitek-karas b3b639d
Remove special logic for TypeConverterAttribute (dotnet/linker#2659)
jtschuster 2248c60
Don't dispose of linked assembly in VerifyLinkingOfOtherAssemblies (d…
mrvoorhe 711b59e
Add testcase for intrinsic with override (dotnet/linker#2674)
sbomer 388039e
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] 6efba4b
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] a45e92d
Remove fixing-warnings.md and link to dotnet/docs (dotnet/linker#2645)
jtschuster 63d67fa
Expose GetTypePreserve (dotnet/linker#2679)
mrvoorhe 61cf245
Use attributes on lambdas in tests (dotnet/linker#2682)
sbomer ed78135
Share Type.Base intrinsic (dotnet/linker#2681)
vitek-karas 2c6959e
Warn on DAM mismatch between overrides (dotnet/linker#2656)
jtschuster e5c1e22
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] e6d61e7
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] 60f4498
Remove SuppressionContextMember (dotnet/linker#2691)
sbomer 3329287
Propagate DynamicallyAccessedMemberTypes through Nullable<T> to T (do…
jtschuster 4425957
Create shared WellKnownTypes enum (dotnet/linker#2692)
jtschuster f2af716
Fix empty/null handling for Type.BaseType intrinsic (dotnet/linker#2694)
sbomer c6659b7
Add tests for analyzer null references in byte array COM interop (dot…
jtschuster 1bac0d4
Add test get interfaces (dotnet/linker#2696)
sbomer 22ee6b1
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] 9cf9a33
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] f6a81b6
Avoid running GetDisplayNameTests in parallel (dotnet/linker#2701)
tlakollo 58bf9cd
Update array data flow test (dotnet/linker#2704)
jtschuster a193b58
Don't let RUC on cctor silence warnings (dotnet/linker#2705)
sbomer 00d3eb2
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] 50ed201
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] 09905d7
Lambda and local function suppressions (dotnet/linker#2689)
sbomer 4db2f5c
Files in linker repository now have the same license header at the be…
tlakollo ab65c64
Break up ValueNode.cs so each Value has it's own file (dotnet/linker#…
jtschuster d5ff8a6
Fix headers in new files (dotnet/linker#2716)
sbomer 029de02
Fix IndexOutOfRangeException (dotnet/linker#2717)
sbomer 1948eaa
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] 13a5a08
Fix local function called from method and state machine (dotnet/linke…
sbomer d000f06
Don't throw on write to get-only property (dotnet/linker#2728)
sbomer 79200be
Share GetConstructor intrinsic a lot of small fixes (dotnet/linker#2725)
vitek-karas e0fc7e0
Add constant propagation through methods with parameters or complex b…
marek-safar f6c78d1
Avoid analyzing cref for generic parameters (dotnet/linker#2732)
tlakollo d3eccf4
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] 3b017fe
Don't remove unused interfaces in library mode (dotnet/linker#2711)
jtschuster 0696838
Aot analyzer class support (dotnet/linker#2738)
tlakollo b709695
Condition out the BannedApiAnalyzers usage in source-build (dotnet/li…
MichaelSimons 03791e8
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] b958eb9
Handle multiple values for an array node (dotnet/linker#2744)
tlakollo 73c3e1f
Move parameter annotation checks to shared code for analyzer (dotnet/…
jtschuster b09c959
Add support for Debug output in Analyzer (dotnet/linker#2750)
tlakollo 18e8097
Support assignment to flow capture references (dotnet/linker#2730)
sbomer b7d371e
Fix array dataflow tests (dotnet/linker#2752)
sbomer 84cb288
Trim static interfaces (dotnet/linker#2741)
jtschuster f51da34
Don't throw on NoneOperation (dotnet/linker#2753)
sbomer 24df782
Share method handle related intrinsics (dotnet/linker#2754)
vitek-karas c81a38e
Use WellKnownType in more places and add mapping to MetadataType (dot…
jtschuster 9d7c1e1
Remove AnalysisContext and ScopeStack from method body scanner (dotne…
sbomer f6a6aa5
Fix handling of special intrinsics in analyzer (dotnet/linker#2756)
vitek-karas 7a68aa0
Share MakeGeneric.. and Expression.Call (dotnet/linker#2758)
vitek-karas 7491783
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] b16fe51
Move shared dataflow value creation helpers out of HandleCallAction (…
sbomer 1df17ac
Add a test for RUC on type with override method (dotnet/linker#2764)
vitek-karas 4ad23a2
Factor ReflectionMethodBodyScanner to be more similar to analyzer (do…
sbomer db06f03
Fix various issues in tlens that prevented running it against a Xamar…
akoeplinger 49aa059
Change requires on type checking for mismatch (dotnet/linker#2766)
tlakollo 83279b1
Make FlowAnnotations and ReflectionAccessAnalyzer structs (dotnet/lin…
sbomer 5f3ddb2
Don't throw on InstanceReference assignment (dotnet/linker#2772)
sbomer 0624a52
Share Type.GetType and similar intrinsics (dotnet/linker#2773)
vitek-karas fa1c5b9
Don't remove MethodImpl if overridden method is not in a link assembl…
jtschuster 3a43f07
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] 24521fd
Add ability for the analyzer to recognize const fields (dotnet/linker…
vitek-karas 64adcdc
Adds support for recognizing more integer types as consts (dotnet/lin…
vitek-karas d18bd5f
Don't depend on marking order in DAM type hierarchy (dotnet/linker#2777)
sbomer c07faaf
Fix warning about duplicate attributes (dotnet/linker#2780)
sbomer 1718dda
Fix NullReferenceException when sweeping unused static interface (dot…
vitek-karas 398a848
Revert static interface trimming (dotnet/linker#2784)
jtschuster d4e7d66
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] 87e64eb
Match analyzer and linker requires methods (dotnet/linker#2788)
tlakollo bee4931
[main] Update dependencies from dotnet/arcade (dotnet/linker#2719)
dotnet-maestro[bot] ab2bd0e
Record trim analysis patterns in scanner (dotnet/linker#2782)
sbomer 0f2faf2
Add sanity check for overrides (dotnet/linker#2793)
jtschuster 0422829
Retarget product binaries to .NET 6 (dotnet/linker#2794)
vitek-karas a48c81a
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] f6950a8
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] ad2e12c
Split up ReflectionMethodBodyScanner (dotnet/linker#2796)
sbomer 8e8144d
Consider side effects when evaluating manually substituted methods (d…
marek-safar 1eb466a
Add retargeting switch labels to ILProcessor (dotnet/linker#2801)
marek-safar 8dba253
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] 3249cdb
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] 833ad0d
Track attributes through Roslyn-generated types (dotnet/linker#2786)
agocke d242d6e
Better tests for attribute dataflow (dotnet/linker#2804)
vitek-karas 9af3455
Warn on mismatch for ref params (dotnet/linker#2769)
jtschuster e14b322
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] ad7f96e
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] 97981c4
Warn on unhandled store in reference case instead of throwing (dotnet…
jtschuster aa820d2
Don't crash analyzer for ref-return assignment (dotnet/linker#2810)
sbomer d512298
Add two specific tests for type hierarchy marking (dotnet/linker#2814)
vitek-karas 1f15bb6
Changes to make sharing code with Native AOT easier (dotnet/linker#2818)
vitek-karas f0737f2
Don't warn on enum switch if named values are exhaustive (dotnet/link…
jtschuster e0dae3e
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] d38e869
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] 2e987e8
Scan compiler-generated methods as a group (dotnet/linker#2792)
sbomer dcfe8ec
Add test for https://github.com/dotnet/linker/issues/2819 (dotnet/lin…
vitek-karas bd94741
Fix linker crash in generated type analysis (dotnet/linker#2827)
agocke 3fdf0eb
Add a test for IReflect which simulates usage from winforms (dotnet/l…
vitek-karas c492274
Fix access to derived properties (dotnet/linker#2829)
sbomer 3db5605
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] a7762df
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] 659bcb5
Fix analyzer issues related to visiting assignment targets (dotnet/li…
sbomer 1b18095
Mark all type forwarders used during string->Type resolution (dotnet/…
vitek-karas 736d0f1
Don't catch all exceptions; propagate unexpected errors to trigger Wa…
jtschuster 347293b
Re-add static interface trimming with more testing (dotnet/linker#2791)
jtschuster 26fe218
Move the ILLink targets from the SDK repo to the linker repo (dotnet/…
agocke a8bd538
Adjust ref param kind check for IL offset (dotnet/linker#2838)
jtschuster 83e96a6
Analyze implicit indexer reference operations (dotnet/linker#2839)
sbomer 7a5d3a7
Revert "Re-add static interface trimming with more testing (dotnet/li…
jtschuster d3e6515
Include targets in ILLink.Tasks package (dotnet/linker#2844)
sbomer 10e0bda
Disable invalid assert and add a test to repro the problem (dotnet/li…
vitek-karas 63f6df4
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] 59bc964
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] 99140e9
Fix package props for older SDKs (dotnet/linker#2848)
sbomer 657a094
Seal classes to silence warnings in Preview 5 (dotnet/linker#2852)
jtschuster e7624e0
Update Cecil to pick up PDB fix https://github.com/mono/cecil/pull/34…
vitek-karas 70fccc4
Update ref package used by analyzer tests to Preview 5 (dotnet/linker…
vitek-karas d45c523
Keep unresolved interface impl (dotnet/linker#2858)
jtschuster 6231ab3
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] 0450d9b
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] 742f5a3
Implement .dgml writing capabilities (dotnet/linker#2854)
iserrato 233fc93
Fix assignment to captured invalid operation (dotnet/linker#2869)
sbomer 894d09d
Add compiler-generated code dataflow analysis (dotnet/linker#2842)
sbomer 609cca8
Small updates to help with linker->aot port (dotnet/linker#2873)
vitek-karas ea9ab9b
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] ce01945
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] c869b10
Fixed AddSuppresionsBeforeAttributeRemoval test (dotnet/linker#2882)
jkurdek 4fdaf21
Add more trimming options to TrimMode and change defaults (dotnet/lin…
agocke a40adc2
Refactorings to help with linker->AOT integration (dotnet/linker#2883)
vitek-karas 2a8227d
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] bab6a8b
Add a test for unsupported branch instruction crash (dotnet/linker#2887)
vitek-karas 00e42a0
Intentionally skip switch instructions during branch removal as the c…
vitek-karas 784fede
Preserve all interfaces in library mode (dotnet/linker#2886)
jtschuster 4bf1bcf
Fix a bug with null value passed to annotated parameter on attribute …
vitek-karas 982d2b8
Analyze nested functions in Roslyn analyzer (dotnet/linker#2892)
sbomer 1c77e69
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] 6f6e4a6
Update Cecil to pick up PDB fix (dotnet/linker#2901)
vitek-karas fa43f73
Fix syntax node scope and nullable warnings (dotnet/linker#2900)
agocke 2fa20c3
Add a test for stack overflow when marking lambda which indirectly ma…
vitek-karas 9a8f2c0
Redundant warning suppressions detection (dotnet/linker#2891)
jkurdek 5340b8c
Fix re-entrancy when marking nested functions (dotnet/linker#2907)
sbomer 37a73e6
Avoid dataflow analysis for generic parameters (dotnet/linker#2908)
sbomer 1434c75
Make StaticCs work in source build (dotnet/linker#2909)
agocke eedc180
DynamicallyAccessedMembers CodeFix (dotnet/linker#2890)
iserrato d9c3249
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] 5e073ae
Map type parameters for static closures (dotnet/linker#2899)
sbomer 3707a37
Synchronize file type between analyzer and linker (dotnet/linker#2917)
iserrato fe18f19
Add more tests for parameter dataflow (dotnet/linker#2918)
sbomer 99e5df3
Update to .NET 7.0 TFM (dotnet/linker#2919)
lbussell c1400cf
[main] Update dependencies from dotnet/arcade (dotnet/linker#2884)
dotnet-maestro[bot] c6f3a67
Added support for suppressions on properties (dotnet/linker#2925)
jkurdek 0f361d9
Add an interesting test case for compiler generated code marking (dot…
vitek-karas 68a6b6a
Make serialization discovery opt-in (dotnet/linker#2929)
sbomer 9f6a97c
Update DAMCodeFixProvider.cs (dotnet/linker#2932)
Youssef1313 fcd58bd
Add another local function branch removal test (dotnet/linker#2931)
sbomer c3ae17c
Sync test changes from AOT (dotnet/linker#2912)
vitek-karas 0e33465
Redundant suppressions detection (dotnet/linker#2922)
jkurdek 01652f4
Redundant suppressions support for suppressions on events and propert…
jkurdek 4361681
Separate interface method trimming logic and update for static interf…
jtschuster 96a5d72
New constraint on a generic argument involved in MakeGenericType/Meth…
vitek-karas e522d58
Adds a test with two annotated out params for the same method. (dotne…
vitek-karas e33aab6
Improve tests and docs (dotnet/linker#2941)
mrvoorhe f35559b
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] b8e2e1c
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] d4481ef
Update MSBuild version to fix official build (dotnet/linker#2945)
sbomer d4f0b87
Include all warnings under suppression setting (dotnet/linker#2930)
sbomer 2e5b893
Use preview 5 framework version in runtimeconfig (dotnet/linker#2948)
sbomer 7d404e9
[analyzer tool] Avoid exceptions when loading dependencies (dotnet/li…
vitek-karas 44c4742
Aot to linker sync (dotnet/linker#2944)
vitek-karas a571ef1
Fixed IL2121 single warn issue (dotnet/linker#2953)
jkurdek 011aab4
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] a027f21
Build with preview5 SDK (dotnet/linker#2954)
sbomer eccba9a
Test that basic ref field operations don't crash linker (dotnet/linke…
jtschuster fee2bb1
Pin compiler version to fix build (dotnet/linker#2958)
sbomer 8120f77
Fix missing parenthesis (dotnet/linker#2956)
sbomer f74729a
Process static interface methods as virtual methods (dotnet/linker#2926)
jtschuster b117fa0
Revert analyzer to lower CodeAnalysis version (dotnet/linker#2968)
jtschuster b60d366
Added IL2121 to error-codes.md (dotnet/linker#2964)
jkurdek 9e7bdbf
Fix il corruption (dotnet/linker#2966)
sbomer ffdcf15
Dataflow support for ref fields (dotnet/linker#2947)
jtschuster 21c440a
Fix exception when generating warning for method definition (dotnet/l…
vitek-karas 4e75a56
Add MakeGenericMethod tests for static interface methods (dotnet/link…
jtschuster ee43bd2
Add IL Verification to tests (dotnet/linker#2960)
jtschuster 60e99cc
Suppress warning in instance fields if the instance constructors are …
tlakollo 8e5af0a
Use HashSet instead of List for _virtual_methods (dotnet/linker#2976)
jtschuster 015cfd4
Add test for dotnet/runtimedotnet/linker#73048 (dotnet/linker#2977)
MichalStrehovsky a67ebf3
Don't track current field of state machines (dotnet/linker#2979)
sbomer 8c295a7
CodeFix Support for Additional DAM IDs (dotnet/linker#2939)
iserrato 8e40f0b
IL2121 warnings point to XML files correctly (dotnet/linker#2965)
jkurdek 1776452
Generate attribute in Code Fix (dotnet/linker#2985)
iserrato 8c6f47f
Add documentation (dotnet/linker#2989)
iserrato f3d31d4
Check variable type in ValidateNoReferencesToReferences instead of da…
jtschuster b2437ee
Add support for generic attributes (dotnet/linker#2980)
sbomer cabc760
Add generated test (dotnet/linker#2995)
jtschuster 6b5e37e
CodeFixer enhancements (dotnet/linker#2994)
tlakollo 6ac7820
Do not report redundant suppressions on trimmed members (dotnet/linke…
jkurdek 69cc1e2
Suppress warnings in 6.0 framework (dotnet/linker#3000)
sbomer bf57dbb
Don't suppress all warnings with SuppressTrimAnalysisWarnings (dotnet…
sbomer 61ac4ff
[main] Update dependencies from dotnet/arcade (dotnet/linker#2950)
dotnet-maestro[bot] e966196
Use enum for method parameter indexing (dotnet/linker#2993)
jtschuster faa322a
Annotated TestSystemTypeBase (dotnet/linker#3008)
jkurdek 11af0c1
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] 244e25c
Verify if COM dangerous during call site check (dotnet/linker#3009)
jkurdek 6eecc0c
[main] Update dependencies from dotnet/runtime (dotnet/linker#2974)
dotnet-maestro[bot] 6fed335
Update public pool names (dotnet/linker#3013)
alexperovich bd2bb82
Fixes a null ref which happens when an XML comment cref contains gene…
vitek-karas 668d000
Allow codefixer to annotate accessor declarations as methods (dotnet/…
tlakollo d707852
Sync AOT tests with linker (dotnet/linker#3026)
tlakollo 3138b2c
Fix lint command (dotnet/linker#3027)
tlakollo c678f44
Fix how keeping something due to DynamicDependency is traced (dotnet/…
vitek-karas 304e1ca
Better warning message for DynamicDependency problem (dotnet/linker#3…
vitek-karas c27a0a3
[main] Update dependencies from dotnet/arcade (dotnet/linker#3023)
dotnet-maestro[bot] eb6d176
[main] Update dependencies from dotnet/runtime (dotnet/linker#3024)
dotnet-maestro[bot] 229f829
Remove --keep-facades option (dotnet/linker#3036)
sbomer cdfa89e
Cleanup tests for cases which use different warnings codes that the t…
vitek-karas 87f3ac1
Add event source tracing (dotnet/linker#3043)
jtschuster fa2e881
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] 2cb62ff
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] b7d664c
Update dependencies from https://github.com/dotnet/arcade build 20220…
dotnet-maestro[bot] d433f19
Update dependencies from https://github.com/dotnet/runtime build 2022…
dotnet-maestro[bot] 6698128
Check for nulls in IsInterfaceImplementationNeededByTypeDueToInterfac…
jtschuster 12f4ea1
Use new build images (dotnet/linker#3051)
sbomer 01a13e9
Update docker to the latest tagging schema (dotnet/linker#3057)
dkurepa 2ddff0a
Remove redundant checks in IntrinsicId switch statements (dotnet/link…
jtschuster d615e00
Add Doc comments for IntrinsicIds (dotnet/linker#3063)
jtschuster 2d44ea4
Merge branch 'main' of /home/tlakollo/Consolidation/linker into main
aaba9e1
Remove arcade eng\common directory in src\tools\linker since now we w…
tlakollo 89d94ed
Add ToolsProjectRoot to identify the tools folder inside runtime
tlakollo a10d6c4
Run dotnet format on tools\linker
tlakollo 3db6dda
Fix Markdownlint
tlakollo 0ec286d
Remove shared projects from build
8c6a936
Change WarningSuppressionWriter to use runtime format instead of Mono's
d016c82
Add Cecil Pdb library otherwise nativePdb reading will throw and all …
tlakollo 0412b85
Update cecil package name to easily differenciate the official packag…
tlakollo 312ac9a
Remove unused gitignore code lines
tlakollo eb4482e
Format file headers as runtime
tlakollo 7ed5f12
Attempt to run linker unit tests in CI
tlakollo b654deb
Actually create a test group otherwise CI wont trigger
10e4841
Exclude src/tools from some of the pipelines so they dont run on link…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1175,3 +1175,26 @@ As an exception, if, as a result of your compiling your source code, portions | |
| of this Software are embedded into a machine-executable object form of such | ||
| source code, you may redistribute such embedded portions in such object form | ||
| without including the above copyright and permission notices. | ||
|
|
||
| License for Jb Evain | ||
| --------------------- | ||
|
|
||
| Copyright (c) 2006 Jb Evain ([email protected]) | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included | ||
| in all copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
| THE SOFTWARE. | ||
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
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.
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.
These should be built even in source build.
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.
Ah, never mind, I guess we don't need tests for source build.
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.
What is meant by "source build" please?
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.
In a nutshell source-build is a requirement from some Linux distributions which require source code to build. So basically when they get dotnet they actually get all the source code (one of those pieces is the runtime, but they are more pieces) and build it. The source-build repository is in charge of taking all of these pieces and glue them together, it also has an explanation of what source build is -> https://github.com/dotnet/source-build#source-build-goals
We want all the source code to be included, but the tests are not going to be executed once it's an app like dotnet so we exclude them using the DotNetBuildFromSource variable.