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 880ebe0 commit 5a4b83eCopy full SHA for 5a4b83e
src/unix/bsd/apple/mod.rs
@@ -6806,6 +6806,7 @@ cfg_if! {
6806
// These require a dependency on `libiconv`, and including this when built as
6807
// part of `std` means every Rust program gets it. Ideally we would have a link
6808
// modifier to only include these if they are used, but we do not.
6809
+#[deprecated(note = "Will be removed in 1.0 to avoid the `iconv` dependency")]
6810
#[cfg_attr(not(feature = "rustc-dep-of-std"), link(name = "iconv"))]
6811
extern "C" {
6812
pub fn iconv_open(tocode: *const ::c_char, fromcode: *const ::c_char) -> iconv_t;
0 commit comments