diff --git a/rust/src/notcurses/methods.rs b/rust/src/notcurses/methods.rs index 01270ac7f..cb520d399 100644 --- a/rust/src/notcurses/methods.rs +++ b/rust/src/notcurses/methods.rs @@ -584,6 +584,7 @@ impl Nc { /// nothing will be written. /// /// *C style function: [notcurses_render_to_file()][crate::notcurses_render_to_file].* + #[cfg(not(target_os = "macos"))] pub fn render_to_file(&mut self, fp: &mut NcFile) -> NcResult<()> { error![unsafe { crate::notcurses_render_to_file(self, fp.as_nc_ptr()) }] }