mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 02:53:43 +00:00
`cfg_if` is helpful for applying `cfg` attributes to groups of items, like we will need to do with architecture-specific modules of `f16` and `f128`. However, `libm` can't have dependencies. The `cfg_if` macro is complex but small, so just vendor it here.