Update MSRV to 1.77

This commit is contained in:
Olivier Goffart 2024-09-25 15:29:12 +02:00
parent b9175072c7
commit fc324a4db2
9 changed files with 42 additions and 26 deletions

View file

@ -49,7 +49,7 @@ In the next section you will learn how to use the installed library in your appl
First you need to install the prerequisites:
* Install Rust by following the [Rust Getting Started Guide](https://www.rust-lang.org/learn/get-started). If you already
have Rust installed, make sure that it's at least version 1.73 or newer. You can check which version you have installed
have Rust installed, make sure that it's at least version 1.77 or newer. You can check which version you have installed
by running `rustc --version`. Once this is done, you should have the `rustc` compiler and the `cargo` build system installed in your path.
You can either choose to compile Slint from source along with your application or include Slint as an external CMake package.

View file

@ -9,7 +9,7 @@ following generic instructions on what's needed to compile and use Slint.
## Prerequisites
* Install Rust by following the [Rust Getting Started Guide](https://www.rust-lang.org/learn/get-started). If you already
have Rust installed, make sure that it's at least version 1.73 or newer. You can check which version you have installed
have Rust installed, make sure that it's at least version 1.77 or newer. You can check which version you have installed
by running `rustc --version`. Once this is done, you should have the `rustc` compiler and the `cargo` build system installed in your path.
* A C++ cross-compiler compiler that supports C++20.
@ -44,7 +44,7 @@ cmake -DRust_CARGO_TARGET=thumbv7em-none-eabihf -DSLINT_FEATURE_FREESTANDING=ON
```
## Next Steps
- Check out the [](../getting_started.md) instructions for a generic "Hello World" with C++.
- Study the [](../api/library_root), in particular the `slint::platform` namespace for
writing a Slint platform integration to handle touch input and render pixel, which you