Skip to content

Commit 15a342f

Browse files
chenrui333nirbheek
andauthored
add pr feedback
Co-authored-by: Nirbheek Chauhan <[email protected]>
1 parent 3c2aa27 commit 15a342f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,8 @@ impl fmt::Display for Error {
287287
std::env::var("CARGO_PKG_NAME").unwrap_or_else(|_| "sys".to_owned());
288288
let instructions = if cfg!(target_os = "macos") {
289289
"Try `brew install pkgconf` if you have Homebrew.\n"
290+
} else if cfg!(target_os = "ios") {
291+
"" // iOS cross-compilation requires a custom setup, no easy fix
290292
} else if cfg!(unix) {
291293
"Try `apt install pkg-config`, or `yum install pkg-config`,\n\
292294
or `pkg install pkg-config`, or `apk add pkgconfig` \

0 commit comments

Comments
 (0)