Skip to content

Commit 5a4b83e

Browse files
committed
Add deprecated, removed in rust-lang#3526
1 parent 880ebe0 commit 5a4b83e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6806,6 +6806,7 @@ cfg_if! {
68066806
// These require a dependency on `libiconv`, and including this when built as
68076807
// part of `std` means every Rust program gets it. Ideally we would have a link
68086808
// 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")]
68096810
#[cfg_attr(not(feature = "rustc-dep-of-std"), link(name = "iconv"))]
68106811
extern "C" {
68116812
pub fn iconv_open(tocode: *const ::c_char, fromcode: *const ::c_char) -> iconv_t;

0 commit comments

Comments
 (0)