mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
Increase MSRV to 1.28.0 (#716)
This commit is contained in:
parent
3c59283b3f
commit
5be52c9753
19
.travis.yml
19
.travis.yml
|
@ -21,7 +21,7 @@ matrix:
|
||||||
packages: *i686_packages
|
packages: *i686_packages
|
||||||
- env: TARGET=i686-unknown-linux-gnu
|
- env: TARGET=i686-unknown-linux-gnu
|
||||||
os: linux
|
os: linux
|
||||||
rust: 1.24.1
|
rust: 1.28.0
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages: *i686_packages
|
packages: *i686_packages
|
||||||
|
@ -35,7 +35,7 @@ matrix:
|
||||||
rust: stable
|
rust: stable
|
||||||
- env: TARGET=x86_64-unknown-linux-gnu
|
- env: TARGET=x86_64-unknown-linux-gnu
|
||||||
os: linux
|
os: linux
|
||||||
rust: 1.24.1
|
rust: 1.28.0
|
||||||
|
|
||||||
# macOS
|
# macOS
|
||||||
- env: TARGET=x86_64-apple-darwin
|
- env: TARGET=x86_64-apple-darwin
|
||||||
|
@ -46,7 +46,7 @@ matrix:
|
||||||
rust: stable
|
rust: stable
|
||||||
- env: TARGET=x86_64-apple-darwin
|
- env: TARGET=x86_64-apple-darwin
|
||||||
os: osx
|
os: osx
|
||||||
rust: 1.24.1
|
rust: 1.28.0
|
||||||
|
|
||||||
# iOS
|
# iOS
|
||||||
- env: TARGET=x86_64-apple-ios
|
- env: TARGET=x86_64-apple-ios
|
||||||
|
@ -57,23 +57,12 @@ matrix:
|
||||||
rust: stable
|
rust: stable
|
||||||
- env: TARGET=x86_64-apple-ios
|
- env: TARGET=x86_64-apple-ios
|
||||||
os: osx
|
os: osx
|
||||||
rust: 1.24.1
|
rust: 1.28.0
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- rustup self update
|
- rustup self update
|
||||||
- rustup target add $TARGET; true
|
- rustup target add $TARGET; true
|
||||||
|
|
||||||
before_script:
|
|
||||||
- |
|
|
||||||
if [ "$TRAVIS_RUST_VERSION" == "1.24.1" ]; then
|
|
||||||
# Some of winit's transitive dependencies have made semver-compatible releases that actually
|
|
||||||
# break their compatibility with rust 1.24.1. We freeze them to their last compatible version to
|
|
||||||
# ensure that winit still compiles fine on this rust version.
|
|
||||||
cargo update
|
|
||||||
cargo update -p stb_truetype --precise 0.2.2
|
|
||||||
cargo update -p rusttype --precise 0.7.1
|
|
||||||
fi
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cargo build --target $TARGET --verbose
|
- cargo build --target $TARGET --verbose
|
||||||
- cargo build --target $TARGET --features serde --verbose
|
- cargo build --target $TARGET --features serde --verbose
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
|
|
||||||
# Version 0.18.0 (2018-11-07)
|
# Version 0.18.0 (2018-11-07)
|
||||||
|
|
||||||
|
- **Breaking:** minimum supported Rust version increased to 1.28.0.
|
||||||
- **Breaking:** `image` crate upgraded to 0.20. This is exposed as part of the `icon_loading` API.
|
- **Breaking:** `image` crate upgraded to 0.20. This is exposed as part of the `icon_loading` API.
|
||||||
- On Wayland, pointer events will now provide the current modifiers state.
|
- On Wayland, pointer events will now provide the current modifiers state.
|
||||||
- On Wayland, titles will now be displayed in the window header decoration.
|
- On Wayland, titles will now be displayed in the window header decoration.
|
||||||
|
|
|
@ -41,6 +41,8 @@ fn main() {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note that winit requires Rust 1.28.0 or later.
|
||||||
|
|
||||||
### Cargo Features
|
### Cargo Features
|
||||||
|
|
||||||
Winit provides the following features, which can be enabled in your `Cargo.toml` file:
|
Winit provides the following features, which can be enabled in your `Cargo.toml` file:
|
||||||
|
|
|
@ -5,7 +5,7 @@ environment:
|
||||||
- TARGET: x86_64-pc-windows-msvc
|
- TARGET: x86_64-pc-windows-msvc
|
||||||
CHANNEL: stable
|
CHANNEL: stable
|
||||||
- TARGET: x86_64-pc-windows-msvc
|
- TARGET: x86_64-pc-windows-msvc
|
||||||
CHANNEL: 1.24.1
|
CHANNEL: 1.28.0
|
||||||
- TARGET: i686-pc-windows-msvc
|
- TARGET: i686-pc-windows-msvc
|
||||||
CHANNEL: nightly
|
CHANNEL: nightly
|
||||||
- TARGET: i686-pc-windows-gnu
|
- TARGET: i686-pc-windows-gnu
|
||||||
|
|
Loading…
Reference in a new issue