[Runtime] Static constructors and destructors should be an error here.
[Runtime] Static constructors and destructors should be an error here.

Except for a handful of places we know about, there should be no static
constructors or destructors in the runtime; they're undesirable because
they inflate start up or shut down times, and in the case of destructors
we can't even guarantee that they will actually run (e.g. if the program
declares that it supports fast termination, they just won't).

It should be OK to change the warnings to errors as a result.

rdar://80965245

roambotics/swift,hooman/swift,parkera/swift,apple/swift,gregomni/swift,hooman/swift,roambotics/swift,atrick/swift,parkera/swift,ahoppen/swift,rudkx/swift,rudkx/swift,JGiola/swift,parkera/swift,atrick/swift,parkera/swift,roambotics/swift,hooman/swift,apple/swift,ahoppen/swift,JGiola/swift,ahoppen/swift,JGiola/swift,parkera/swift,xwu/swift,ahoppen/swift,rudkx/swift,gregomni/swift,benlangmuir/swift,roambotics/swift,roambotics/swift,hooman/swift,benlangmuir/swift,xwu/swift,apple/swift,parkera/swift,xwu/swift,atrick/swift,gregomni/swift,parkera/swift,parkera/swift,xwu/swift,roambotics/swift,xwu/swift,gregomni/swift,atrick/swift,glessard/swift,apple/swift,rudkx/swift,JGiola/swift,rudkx/swift,benlangmuir/swift,glessard/swift,benlangmuir/swift,ahoppen/swift,hooman/swift,apple/swift,hooman/swift,atrick/swift,glessard/swift,xwu/swift,glessard/swift,benlangmuir/swift,gregomni/swift,rudkx/swift,xwu/swift,gregomni/swift,hooman/swift,atrick/swift,apple/swift,glessard/swift,ahoppen/swift,glessard/swift,JGiola/swift,JGiola/swift,benlangmuir/swift