Skip to content

Commit

Permalink
Only try to build fd doctest on Unix
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrocket committed Sep 20, 2020
1 parent b13bbf7 commit b99b2e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/extern_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
///
/// ```no_run
/// // file/src/lib.rs
/// # #[cfg(unix)]
/// # mod file {
/// # use std::os::unix::io::{IntoRawFd, FromRawFd};
/// #[cxx::bridge(namespace = file::ffi)]
Expand Down

0 comments on commit b99b2e3

Please sign in to comment.