Skip to content

[browser][coreCLR] Fix IL trimming in publish #123030

@pavelsavara

Description

@pavelsavara
    <EnableAggressiveTrimming>true</EnableAggressiveTrimming>
    <PublishTrimmed>true</PublishTrimmed>
ThreadPool.BackgroundJobHandler failed
    at System.Environment.<FailFast>g____PInvoke|11_0(System.Runtime.CompilerServices.StackCrawlMarkHandle, UInt16*, System.Runtime.CompilerServices.ObjectHandleOnStack, UInt16*)
    at System.Environment.FailFast(System.Runtime.CompilerServices.StackCrawlMarkHandle, System.String, System.Runtime.CompilerServices.ObjectHandleOnStack, System.String)
    at System.Environment.FailFast(System.Threading.StackCrawlMark ByRef, System.String, System.Exception, System.String)
    at System.Environment.FailFast(System.String, System.Exception)
    at System.Threading.ThreadPool.BackgroundJobHandler()
 System.NotSupportedException: Linked away
    at System.Threading.Thread.ResetThreadPoolThread()
    at System.Threading.ThreadPoolWorkQueue.Dispatch()

Metadata

Metadata

Labels

arch-wasmWebAssembly architecturearea-Tools-ILLink.NET linker development as well as trimming analyzersos-browserBrowser variant of arch-wasm

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions