diff --git a/.cirrus.yml b/.cirrus.yml index 1c2e9a6a83..5304a3d895 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -15,7 +15,7 @@ task: image: freebsd-11-4-release-amd64 setup_script: - fetch https://sh.rustup.rs -o rustup.sh - - sh rustup.sh -y --profile=minimal --default-toolchain 1.41.0 + - sh rustup.sh -y --profile=minimal --default-toolchain 1.46.0 - $HOME/.cargo/bin/rustup target add i686-unknown-freebsd amd64_test_script: - . $HOME/.cargo/env @@ -46,7 +46,7 @@ task: image: catalina-xcode setup_script: - curl --proto '=https' --tlsv1.2 -sSf -o rustup.sh https://sh.rustup.rs - - sh rustup.sh -y --profile=minimal --default-toolchain 1.41.0 + - sh rustup.sh -y --profile=minimal --default-toolchain 1.46.0 - . $HOME/.cargo/env - bash ci/install.sh script: @@ -101,7 +101,7 @@ task: setup_script: - mkdir /tmp/home - curl --proto '=https' --tlsv1.2 -sSf -o rustup.sh https://sh.rustup.rs - - sh rustup.sh -y --profile=minimal --default-toolchain 1.41.0 + - sh rustup.sh -y --profile=minimal --default-toolchain 1.46.0 - . $HOME/.cargo/env - bash ci/install.sh script: @@ -119,13 +119,13 @@ task: - name: Linux x86_64 env: TARGET: x86_64-unknown-linux-gnu - TOOLCHAIN: 1.41.0 + TOOLCHAIN: 1.46.0 - name: Linux x86_64 musl env: TARGET: x86_64-unknown-linux-musl - TOOLCHAIN: 1.41.0 + TOOLCHAIN: 1.46.0 container: - image: rust:1.41 + image: rust:1.46 setup_script: - rustup toolchain install $TOOLCHAIN - rustup target add --toolchain $TOOLCHAIN $TARGET @@ -173,7 +173,7 @@ task: env: TARGET: x86_64-fuchsia container: - image: rust:1.41 + image: rust:1.46 setup_script: - rustup target add $TARGET script: diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e2c968089..c2037cb58a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,9 @@ This project adheres to [Semantic Versioning](https://semver.org/). where it previously would've had undefined behavior. (#[1484](https://github.com/nix-rust/nix/pull/1484)) +- Minimum supported Rust version is now 1.46.0. + ([#1492](https://github.com/nix-rust/nix/pull/1492)) + ### Fixed - Added more errno definitions for better backwards compatibility with diff --git a/Cargo.toml b/Cargo.toml index dc565aee0e..9e48fc0ccd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ targets = [ [dependencies] libc = { git = "https://github.com/rust-lang/libc", rev = "f5e31f208", features = [ "extra_traits" ] } -bitflags = "1.1" +bitflags = "1.3.1" cfg-if = "1.0" [target.'cfg(not(target_os = "redox"))'.dependencies] diff --git a/README.md b/README.md index 895ef1ee87..52ac53f4e0 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ Tier 3: ## Usage -`nix` requires Rust 1.41.0 or newer. +`nix` requires Rust 1.46.0 or newer. To use `nix`, add this to your `Cargo.toml`: