File tree 5 files changed +13
-13
lines changed
5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 12
12
image : freebsd-11-4-release-amd64
13
13
setup_script :
14
14
- fetch https://sh.rustup.rs -o rustup.sh
15
- - sh rustup.sh -y --profile=minimal --default-toolchain 1.36 .0
15
+ - sh rustup.sh -y --profile=minimal --default-toolchain 1.40 .0
16
16
- $HOME/.cargo/bin/rustup target add i686-unknown-freebsd
17
17
amd64_test_script :
18
18
- . $HOME/.cargo/env
42
42
image : catalina-xcode
43
43
setup_script :
44
44
- curl --proto '=https' --tlsv1.2 -sSf -o rustup.sh https://sh.rustup.rs
45
- - sh rustup.sh -y --profile=minimal --default-toolchain 1.36 .0
45
+ - sh rustup.sh -y --profile=minimal --default-toolchain 1.40 .0
46
46
- . $HOME/.cargo/env
47
47
- bash ci/install.sh
48
48
script :
@@ -92,7 +92,7 @@ docker_builder:
92
92
setup_script :
93
93
- mkdir /tmp/home
94
94
- curl --proto '=https' --tlsv1.2 -sSf -o rustup.sh https://sh.rustup.rs
95
- - sh rustup.sh -y --profile=minimal --default-toolchain 1.36 .0
95
+ - sh rustup.sh -y --profile=minimal --default-toolchain 1.40 .0
96
96
- . $HOME/.cargo/env
97
97
- bash ci/install.sh
98
98
script :
@@ -110,11 +110,11 @@ task:
110
110
- name : Linux x86_64
111
111
env :
112
112
TARGET : x86_64-unknown-linux-gnu
113
- TOOLCHAIN : 1.36 .0
113
+ TOOLCHAIN : 1.40 .0
114
114
- name : Linux x86_64 musl
115
115
env :
116
116
TARGET : x86_64-unknown-linux-musl
117
- TOOLCHAIN : 1.36 .0
117
+ TOOLCHAIN : 1.40 .0
118
118
container :
119
119
image : rust:1.36
120
120
setup_script :
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
10
10
### Fixed
11
11
### Changed
12
12
13
+ - Minimum supported Rust version is now 1.40.0.
14
+ ([ #1356 ] ( https://github.com/nix-rust/nix/pull/1356 ) )
15
+
13
16
- i686-apple-darwin has been demoted to Tier 2 support, because it's deprecated
14
17
by Xcode.
15
18
(#[ 1350] ( https://github.com/nix-rust/nix/pull/1350 ) )
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ Tier 3:
85
85
86
86
## Usage
87
87
88
- ` nix ` requires Rust 1.36 .0 or newer.
88
+ ` nix ` requires Rust 1.40 .0 or newer.
89
89
90
90
To use ` nix ` , add this to your ` Cargo.toml ` :
91
91
Original file line number Diff line number Diff line change @@ -137,6 +137,9 @@ fn test_fsync_error() {
137
137
// in Travis's version of glibc or Linux. Either way, we must skip the test.
138
138
// https://github.com/nix-rust/nix/issues/1099
139
139
#[ cfg_attr( target_os = "linux" , ignore) ]
140
+ // On Cirrus, aio_suspend is failing with EINVAL
141
+ // https://github.com/nix-rust/nix/issues/1361
142
+ #[ cfg_attr( target_os = "macos" , ignore) ]
140
143
fn test_aio_suspend ( ) {
141
144
const INITIAL : & [ u8 ] = b"abcdef123456" ;
142
145
const WBUF : & [ u8 ] = b"CDEFG" ;
Original file line number Diff line number Diff line change @@ -1064,13 +1064,7 @@ fn test_ttyname_not_pty() {
1064
1064
}
1065
1065
1066
1066
#[ test]
1067
- #[ cfg( all( not( target_os = "redox" ) , not ( target_env = "musl" ) ) ) ]
1067
+ #[ cfg( all( not( target_os = "redox" ) ) ) ]
1068
1068
fn test_ttyname_invalid_fd ( ) {
1069
1069
assert_eq ! ( ttyname( -1 ) , Err ( Error :: Sys ( Errno :: EBADF ) ) ) ;
1070
1070
}
1071
-
1072
- #[ test]
1073
- #[ cfg( all( not( target_os = "redox" ) , target_env = "musl" ) ) ]
1074
- fn test_ttyname_invalid_fd ( ) {
1075
- assert_eq ! ( ttyname( -1 ) , Err ( Error :: Sys ( Errno :: ENOTTY ) ) ) ;
1076
- }
You can’t perform that action at this time.
0 commit comments