mirror of
https://github.com/openharmony/third_party_rust_memoffset.git
synced 2026-07-18 12:25:36 -04:00
Merge pull request #33 from RalfJung/msrv
see if we actually work on even older Rust versions
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ cache:
|
||||
cargo: true
|
||||
matrix:
|
||||
include:
|
||||
- rust: 1.20.0 # Oldest supported
|
||||
- rust: 1.19.0 # Oldest supported (first version with numeric fields in struct patterns)
|
||||
- rust: 1.36.0 # Oldest supported with MaybeUninit
|
||||
- rust: stable
|
||||
- rust: beta
|
||||
|
||||
@@ -18,7 +18,7 @@ Add the following dependency to your `Cargo.toml`:
|
||||
memoffset = "0.5"
|
||||
```
|
||||
|
||||
These versions will compile fine with rustc versions greater or equal to 1.20.
|
||||
These versions will compile fine with rustc versions greater or equal to 1.19.
|
||||
|
||||
Add the following lines at the top of your `main.rs` or `lib.rs` files.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user