File tree Expand file tree Collapse file tree 5 files changed +14
-12
lines changed
ci/docker/sparc64-unknown-linux-gnu Expand file tree Collapse file tree 5 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1212 gcc libc6-dev \
1313 gcc-sparc64-linux-gnu libc6-dev-sparc64-cross \
1414 qemu-system-sparc64 openbios-sparc seabios ipxe-qemu \
15- p7zip-full cpio linux-libc-dev-sparc64-cross
15+ p7zip-full cpio linux-libc-dev-sparc64-cross qemu-user
1616
1717COPY linux-sparc64.sh /
1818RUN /linux-sparc64.sh
1919
20- COPY test-runner-linux /
21-
2220ENV CARGO_TARGET_SPARC64_UNKNOWN_LINUX_GNU_LINKER=sparc64-linux-gnu-gcc \
23- CARGO_TARGET_SPARC64_UNKNOWN_LINUX_GNU_RUNNER="/test-runner-linux sparc64" \
21+ CARGO_TARGET_SPARC64_UNKNOWN_LINUX_GNU_RUNNER="qemu-sparc64 -L /usr/ sparc64-linux-gnu " \
2422 CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc \
2523 PATH=$PATH:/rust/bin
Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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" ) ) ]
68116812extern "C" {
68126813 pub fn iconv_open ( tocode : * const :: c_char , fromcode : * const :: c_char ) -> iconv_t ;
Original file line number Diff line number Diff line change @@ -821,6 +821,14 @@ s! {
821821 pub val: :: c_int,
822822 }
823823
824+ // linux/openat2.h
825+ #[ non_exhaustive]
826+ pub struct open_how {
827+ pub flags: :: __u64,
828+ pub mode: :: __u64,
829+ pub resolve: :: __u64,
830+ }
831+
824832 // linux/sctp.h
825833
826834 pub struct sctp_initmsg {
@@ -1000,14 +1008,6 @@ s! {
10001008 pub pid: :: c_int,
10011009 }
10021010
1003- // linux/openat2.h
1004- #[ non_exhaustive]
1005- pub struct open_how {
1006- pub flags: :: __u64,
1007- pub mode: :: __u64,
1008- pub resolve: :: __u64,
1009- }
1010-
10111011 // linux/wireless.h
10121012
10131013 pub struct iw_param {
Original file line number Diff line number Diff line change @@ -256,6 +256,8 @@ pub const SIG_GET: ::sighandler_t = 2;
256256pub const SIG_SGE : :: sighandler_t = 3 ;
257257pub const SIG_ACK : :: sighandler_t = 4 ;
258258
259+ // DIFF(main): removed in 458c58f409
260+ // FIXME(msrv): done by `std` starting in 1.79.0
259261// inline comment below appeases style checker
260262#[ cfg( all( target_env = "msvc" , feature = "rustc-dep-of-std" ) ) ] // " if "
261263#[ link( name = "msvcrt" , cfg( not( target_feature = "crt-static" ) ) ) ]
You can’t perform that action at this time.
0 commit comments