Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: use
uninitialized LibC::SigsetT
(#15144)
`LibC::SigsetT` is a `struct` on some platforms and an alias to `UInt32` on others. `.new` is only valid for the struct variant. `uninitialized` should work in either case. This code is only used with `-Dgc_none`, so a reproduction needs to include that flag and build for a target where `LibC::SigsetT = alias UInt32`, such as `aarch64-apple-darwin`.
- Loading branch information