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 c6f9e23 commit b512398Copy full SHA for b512398
src/sys/memfd.rs
@@ -40,6 +40,7 @@ libc_bitflags!(
40
/// For more information, see [`memfd_create(2)`].
41
///
42
/// [`memfd_create(2)`]: https://man7.org/linux/man-pages/man2/memfd_create.2.html
43
+#[inline] // Delay codegen of this function so it doesn't interfere on builds against old glibc.
44
pub fn memfd_create(name: &CStr, flags: MemFdCreateFlag) -> Result<OwnedFd> {
45
let res = unsafe {
46
cfg_if! {
0 commit comments