]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Auto merge of #96280 - lygstate:ffi-fixes, r=joshtriplett
authorbors <bors@rust-lang.org>
Tue, 3 May 2022 17:22:58 +0000 (17:22 +0000)
committerbors <bors@rust-lang.org>
Tue, 3 May 2022 17:22:58 +0000 (17:22 +0000)
commit086bf7a8ff3550ff1f4c8e78d8b3a7804fdbbb36
tree7406a55371b899ab53756923730e40853ed8fa86
parente1df625306f4136949e02612406f0c60df6008f3
parent2e69549043c44d8050acc7b91e34a3ac241d70e0
Auto merge of #96280 - lygstate:ffi-fixes, r=joshtriplett

library/core: Fixes implement of c_uint, c_long, c_ulong

Fixes: aa670166243 ("make memcmp return a value of c_int_width instead of i32")
Introduce c_num_definition to getting the cfg_if logic easier to maintain
Add newlines for easier code reading

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>