mirror of https://github.com/icedland/iced.git
Update README with min rustc version and update lazy_static version
This commit is contained in:
parent
0faed8a4ad
commit
5ed04fdc96
|
@ -113,6 +113,9 @@ jobs:
|
|||
run: |
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
cd src/rust/iced-x86
|
||||
echo ==== UPDATE Cargo.lock ====
|
||||
cargo +1.20.0 generate-lockfile
|
||||
cargo +1.20.0 update --package lazy_static --precise 1.1.0
|
||||
echo ==== BUILD DEBUG ====
|
||||
cargo +1.20.0 build --color always
|
||||
echo ==== TEST DEBUG ====
|
||||
|
|
|
@ -31,7 +31,7 @@ NASM_FORMATTER = []
|
|||
static_assertions = "0.3.4"
|
||||
|
||||
[dev-dependencies]
|
||||
lazy_static = "1.1.*"
|
||||
lazy_static = "1.1.0"
|
||||
|
||||
[build-dependencies]
|
||||
rustc_version = "0.2.3"
|
||||
|
|
|
@ -1,3 +1,32 @@
|
|||

|
||||
iced-x86
|
||||
[](https://crates.io/crates/iced-x86)
|
||||
[](https://docs.rs/iced-x86)
|
||||
[](https://github.com/0xd4d/iced/tree/master/src/rust/iced-x86#rust-version-requirements)
|
||||

|
||||
|
||||
TODO:
|
||||
|
||||
## Minimum supported `rustc` version
|
||||
|
||||
iced-x86 supports `rustc` 1.20.0 or later.
|
||||
This is checked in CI builds where the minimum supported version and the latest stable version are used to build the source code and run tests.
|
||||
|
||||
If you use an older version of `rustc`, you may need to update the versions of some iced-x86 dependencies because `cargo` prefers to use the latest version which may not support your `rustc`.
|
||||
Eg. iced-x86 needs `lazy_static` `1.1.0`, but `cargo` wants to use the latest version which is currently `1.4.0` and it doesn't support the minimum supported `rustc` version.
|
||||
Here's how you can force a compatible version of any iced-x86 dependency without updating iced-x86's `Cargo.toml`:
|
||||
|
||||
```
|
||||
cargo generate-lockfile
|
||||
cargo update --package lazy_static --precise 1.1.0
|
||||
```
|
||||
|
||||
## Breaking changes
|
||||
|
||||
The following are considered minor breaking changes. At least the minor version of iced-x86 will be incremented.
|
||||
|
||||
- Bumping the minimum supported version of `rustc`
|
||||
- Adding a new enum item (eg. support new instructions)
|
||||
- Sorting enum items
|
||||
- Adding new APIs (can cause problems with `use iced_x86::*;`)
|
||||
|
||||
TODO:
|
||||
|
|
Loading…
Reference in New Issue