File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -6199,17 +6199,19 @@ cfg_if! {
6199
6199
// These require a dependency on `libiconv`, and including this when built as
6200
6200
// part of `std` means every Rust program gets it. Ideally we would have a link
6201
6201
// modifier to only include these if they are used, but we do not.
6202
- #[ deprecated( note = "Will be removed in 1.0 to avoid the `iconv` dependency" ) ]
6203
6202
#[ cfg_attr( not( feature = "rustc-dep-of-std" ) , link( name = "iconv" ) ) ]
6204
6203
extern "C" {
6204
+ #[ deprecated( note = "Will be removed in 1.0 to avoid the `iconv` dependency" ) ]
6205
6205
pub fn iconv_open ( tocode : * const c_char , fromcode : * const c_char ) -> iconv_t ;
6206
+ #[ deprecated( note = "Will be removed in 1.0 to avoid the `iconv` dependency" ) ]
6206
6207
pub fn iconv (
6207
6208
cd : iconv_t ,
6208
6209
inbuf : * mut * mut c_char ,
6209
6210
inbytesleft : * mut size_t ,
6210
6211
outbuf : * mut * mut c_char ,
6211
6212
outbytesleft : * mut size_t ,
6212
6213
) -> size_t ;
6214
+ #[ deprecated( note = "Will be removed in 1.0 to avoid the `iconv` dependency" ) ]
6213
6215
pub fn iconv_close ( cd : iconv_t ) -> c_int ;
6214
6216
}
6215
6217
You can’t perform that action at this time.
0 commit comments