Skip to content

Commit 713878b

Browse files
committed
spawn_async_with_fds: Mark as unsafe
1 parent 5b7be50 commit 713878b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glib/src/functions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ pub fn spawn_async_with_fds<P: AsRef<std::path::Path>, T: AsFd, U: AsFd, V: AsFd
131131
#[cfg(not(windows))]
132132
#[cfg_attr(docsrs, doc(cfg(not(windows))))]
133133
#[doc(alias = "g_spawn_async_with_pipes")]
134-
pub fn spawn_async_with_pipes<
134+
pub unsafe fn spawn_async_with_pipes<
135135
P: AsRef<std::path::Path>,
136136
T: FromRawFd,
137137
U: FromRawFd,

0 commit comments

Comments
 (0)