mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
s390-tools/rust: Define MSRV as 1.75.0
Define and set the minimal supported Rust version (MSRV) to 1.75.0. This is the (current) minimal supported version over all supported distros that use rust in s390-tools. Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
@@ -13,6 +13,7 @@ resolver = "2"
|
||||
[workspace.package]
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
rust-version = "1.75.0"
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
Please refer to the official documentation to set up a working rust environment:
|
||||
https://www.rust-lang.org/learn/get-started
|
||||
|
||||
The minimum supported Rust version (MSRV) is 1.75.
|
||||
|
||||
## Building rust code
|
||||
### s390-tools build system
|
||||
If `cargo` is installed a simple `make` should do the job. Note that,
|
||||
|
||||
@@ -3,6 +3,7 @@ name = "cpacfinfo"
|
||||
version = "0.1.0"
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.71"
|
||||
|
||||
@@ -3,6 +3,7 @@ name = "s390_pv"
|
||||
version = "0.10.0"
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
rust-version.workspace = true
|
||||
description = "s390-tools IBM Secure Execution utilities"
|
||||
keywords = ["s390", "s390x", "IBM_Secure_Execution"]
|
||||
repository = "https://github.com/ibm-s390-linux/s390-tools/tree/master/rust"
|
||||
|
||||
@@ -3,6 +3,7 @@ name = "s390_pv_core"
|
||||
version = "0.10.0"
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
rust-version.workspace = true
|
||||
description = "s390-tools IBM Secure Execution core utilities"
|
||||
keywords = ["s390", "s390x", "IBM_Secure_Execution"]
|
||||
repository = "https://github.com/ibm-s390-linux/s390-tools/tree/master/rust"
|
||||
|
||||
@@ -5,6 +5,7 @@ authors = ["Harald Freudenberger <freude@linux.ibm.com>"]
|
||||
version = "0.10.0"
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
[dependencies]
|
||||
clap = { version ="4.1", features = ["derive", "wrap_help"]}
|
||||
|
||||
@@ -3,6 +3,7 @@ name = "pvattest"
|
||||
version = "0.10.0"
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow = { version = "1.0.70", features = ["std"] }
|
||||
|
||||
@@ -3,6 +3,7 @@ name = "pvsecret"
|
||||
version = "0.10.0"
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow = { version = "1.0.70", features = ["std"] }
|
||||
|
||||
Reference in New Issue
Block a user