ac2ebd3a78
Fixes 5729 `parse_attribute` will panic if the first token is not a `#`. To prevent this we return early instead of trying to parse an invalid attribute.
6 lines
101 B
Rust
6 lines
101 B
Rust
cfg_if::cfg_if! {
|
|
if {
|
|
} else if #(&cpus) {
|
|
} else [libc::CTL_HW, libc::HW_NCPU, 0, 0]
|
|
}
|