aws-lc-rs is a cryptographic library using AWS-LC for its cryptographic operations. The library strives to be API-compatible with the popular Rust library named ring.
MSRV is not respected on all platforms. The actual MSRV for aarch64-apple-darwin is 1.70.0.
The CI should check more platforms for MSRV, and should include the "bindgen" (and possibly other) features.
Relevant details
Running on an M1 Mac:
❯ rustc -vV |grep host
host: aarch64-apple-darwin
Build log:
The log tells compiler and version.
❯ cargo msrv
Fetching index
Determining the Minimum Supported Rust Version (MSRV) for toolchain aarch64-apple-darwin
Using check command cargo check
...
│ error: package `home v0.5.9` cannot be built because it requires rustc 1.70.0 or newer, while the currently active rustc version is 1.66.1 │
│ Either upgrade to rustc 1.70.0 or newer, or use │
│ cargo update -p home@0.5.9 --precise ver │
│ where `ver` is the latest version of `home` supporting rustc 1.66.1
The dependency on home comes via bindgen:
❯ cargo tree -i home
home v0.5.9
└── which v4.4.2
└── bindgen v0.69.2
[build-dependencies]
└── aws-lc-sys v0.13.0 (/Users/justinsmith/repos/aws-lc-rs/aws-lc-sys)
└── aws-lc-rs v1.6.1 (/Users/justinsmith/repos/aws-lc-rs/aws-lc-rs)
Problem:
MSRV is not respected on all platforms. The actual MSRV for
aarch64-apple-darwin
is 1.70.0.The CI should check more platforms for MSRV, and should include the "bindgen" (and possibly other) features.
Relevant details
Build log:
home
comes viabindgen
: