We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e2fd21 commit b0b3526Copy full SHA for b0b3526
tests/const_fn.rs
@@ -0,0 +1,3 @@
1
+#[cfg(target_os = "linux")]
2
+const _FOO: libc::c_uint = unsafe { libc::CMSG_SPACE(1) };
3
+//^ if CMSG_SPACE is not const, this will fail to compile
0 commit comments