Skip to content

Commit 25e022a

Browse files
committed
Add another deprecated attribute for something removed in main
Removed in <#3526>.
1 parent 39af00c commit 25e022a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/fuchsia/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3787,6 +3787,7 @@ extern "C" {
37873787
pub fn close(fd: ::c_int) -> ::c_int;
37883788
pub fn dup(fd: ::c_int) -> ::c_int;
37893789
pub fn dup2(src: ::c_int, dst: ::c_int) -> ::c_int;
3790+
37903791
pub fn execl(path: *const c_char, arg0: *const c_char, ...) -> ::c_int;
37913792
pub fn execle(path: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int;
37923793
pub fn execlp(file: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int;

src/unix/bsd/apple/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6807,6 +6807,7 @@ cfg_if! {
68076807
// These require a dependency on `libiconv`, and including this when built as
68086808
// part of `std` means every Rust program gets it. Ideally we would have a link
68096809
// modifier to only include these if they are used, but we do not.
6810+
#[deprecated(note = "Will be removed in 1.0 to avoid the `iconv` dependency")]
68106811
#[cfg_attr(not(feature = "rustc-dep-of-std"), link(name = "iconv"))]
68116812
extern "C" {
68126813
pub fn iconv_open(tocode: *const ::c_char, fromcode: *const ::c_char) -> iconv_t;

0 commit comments

Comments
 (0)