Sign in
android
/
platform
/
prebuilts
/
rust
/
84b9913596d18689a8c2f638645264b1f21f1ed6
/
.
/
linux-x86
/
1.74.1
/
lib
/
rustlib
/
src
/
rust
/
vendor
/
libc
/
tests
/
const_fn.rs
blob: 0e7e1864b9f85233669f98fe99c78f71a755b2e8 [
file
] [
log
] [
blame
]
#![
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