mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
4577b1a7d3
library/std: Fix build for NetBSD targets with 32-bit `c_long` This fixes building `std` for targets like `mipsel-unknown-netbsd`. If `c_long` is an `i64`, this conversion works with `Into`. But if it's an `i32`, this failed to convert a `u32` to an `i32`.