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 6ccc7fe commit 48acc9bCopy full SHA for 48acc9b
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