We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddddc18 commit 8d7a53cCopy full SHA for 8d7a53c
src/unix/mod.rs
@@ -293,9 +293,6 @@ pub const ATF_PERM: ::c_int = 0x04;
293
pub const ATF_PUBL: ::c_int = 0x08;
294
pub const ATF_USETRAILERS: ::c_int = 0x10;
295
296
-#[link(name = "iconv")]
297
-extern {}
298
-
299
cfg_if! {
300
if #[cfg(target_os = "l4re")] {
301
// required libraries for L4Re are linked externally, ATM
@@ -350,12 +347,12 @@ cfg_if! {
350
347
target_os = "ios"))] {
351
348
#[link(name = "c")]
352
349
#[link(name = "m")]
353
- #[link(name = "iconv")]
354
extern {}
355
} else if #[cfg(any(target_os = "android",
356
target_os = "openbsd"))] {
357
358
+ #[link(name = "iconv")]
359
360
} else if #[cfg(target_os = "haiku")] {
361
#[link(name = "root")]
0 commit comments