File tree 5 files changed +14
-12
lines changed
ci/docker/sparc64-unknown-linux-gnu
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 \
12
12
gcc libc6-dev \
13
13
gcc-sparc64-linux-gnu libc6-dev-sparc64-cross \
14
14
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
16
16
17
17
COPY linux-sparc64.sh /
18
18
RUN /linux-sparc64.sh
19
19
20
- COPY test-runner-linux /
21
-
22
20
ENV 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 " \
24
22
CC_sparc64_unknown_linux_gnu=sparc64-linux-gnu-gcc \
25
23
PATH=$PATH:/rust/bin
Original file line number Diff line number Diff line change @@ -3787,6 +3787,7 @@ extern "C" {
3787
3787
pub fn close ( fd : :: c_int ) -> :: c_int ;
3788
3788
pub fn dup ( fd : :: c_int ) -> :: c_int ;
3789
3789
pub fn dup2 ( src : :: c_int , dst : :: c_int ) -> :: c_int ;
3790
+
3790
3791
pub fn execl ( path : * const c_char , arg0 : * const c_char , ...) -> :: c_int ;
3791
3792
pub fn execle ( path : * const :: c_char , arg0 : * const :: c_char , ...) -> :: c_int ;
3792
3793
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! {
6807
6807
// These require a dependency on `libiconv`, and including this when built as
6808
6808
// part of `std` means every Rust program gets it. Ideally we would have a link
6809
6809
// 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" ) ]
6810
6811
#[ cfg_attr( not( feature = "rustc-dep-of-std" ) , link( name = "iconv" ) ) ]
6811
6812
extern "C" {
6812
6813
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! {
821
821
pub val: :: c_int,
822
822
}
823
823
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
+
824
832
// linux/sctp.h
825
833
826
834
pub struct sctp_initmsg {
@@ -1000,14 +1008,6 @@ s! {
1000
1008
pub pid: :: c_int,
1001
1009
}
1002
1010
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
-
1011
1011
// linux/wireless.h
1012
1012
1013
1013
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;
256
256
pub const SIG_SGE : :: sighandler_t = 3 ;
257
257
pub const SIG_ACK : :: sighandler_t = 4 ;
258
258
259
+ // DIFF(main): removed in 458c58f409
260
+ // FIXME(msrv): done by `std` starting in 1.79.0
259
261
// inline comment below appeases style checker
260
262
#[ cfg( all( target_env = "msvc" , feature = "rustc-dep-of-std" ) ) ] // " if "
261
263
#[ link( name = "msvcrt" , cfg( not( target_feature = "crt-static" ) ) ) ]
You can’t perform that action at this time.
0 commit comments