Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
5
third-party/vendor/libc/tests/const_fn.rs
vendored
Normal file
5
third-party/vendor/libc/tests/const_fn.rs
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#![cfg(libc_const_extern_fn)] // If this does not hold, the file is empty
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
const _FOO: libc::c_uint = unsafe { libc::CMSG_SPACE(1) };
|
||||
//^ if CMSG_SPACE is not const, this will fail to compile
|
||||
Loading…
Add table
Add a link
Reference in a new issue