Vendor dependencies
Let's see how I like this workflow.
This commit is contained in:
parent
34d1830413
commit
9c435dc440
7500 changed files with 1665121 additions and 99 deletions
5
vendor/libc/tests/const_fn.rs
vendored
Normal file
5
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