Skip to content

Remove uses of unsafeGlobalDynFlags for state hack

Currently there are a variety of uses of the terrible unsafeGlobalDynFlags scattered about the compiler to implement -fno-state-hack. This global state makes parallel compilation unreliable and complicates API usage. Remove these uses.

Trac metadata
Trac field Value
Version 8.2.1
Type Task
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information