diff --git a/src/lib.rs b/src/lib.rs index 797c5394f904d751d54c3e16c9b6bf7b1d20bb34..85aa62004b7c9c9fbfb08477ef98cc924fc92edc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -40,6 +40,12 @@ #![cfg_attr(all(target_os = "macos", target_arch = "x86"), doc( html_root_url = "https://doc.rust-lang.org/libc/i686-apple-darwin" ))] +#![cfg_attr(all(target_os = "ios", target_arch = "x86_64"), doc( + html_root_url = "https://doc.rust-lang.org/libc/x86_64-apple-ios" +))] +#![cfg_attr(all(target_os = "ios", target_arch = "x86"), doc( + html_root_url = "https://doc.rust-lang.org/libc/i686-apple-ios" +))] #![cfg_attr(all(windows, target_arch = "x86_64", target_env = "gnu"), doc( html_root_url = "https://doc.rust-lang.org/libc/x86_64-pc-windows-gnu" ))]