mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
"fat" LTO takes much longer to compile than with "thin local" LTO, so use the Rust release build defaults, which is "thin local" LTO [1-2]. If someone wants to enable "fat" LTO, they can use one of the common methods to adjust the Rust build process, for example: $ cargo build --config 'profile.release.lto=true' --release or $ export CARGO_PROFILE_RELEASE_LTO=true $ cargo build --release [1] https://doc.rust-lang.org/cargo/reference/profiles.html#release [2] https://doc.rust-lang.org/cargo/reference/profiles.html#lto Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Acked-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
29 lines
512 B
TOML
29 lines
512 B
TOML
[workspace]
|
|
members = [
|
|
"cpacfinfo",
|
|
"pv",
|
|
"pv_core",
|
|
"pvapconfig",
|
|
"pvattest",
|
|
"pvimg",
|
|
"pvsecret",
|
|
"utils",
|
|
]
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
edition = "2021"
|
|
license = "MIT"
|
|
rust-version = "1.75.0"
|
|
|
|
[workspace.lints.rust]
|
|
missing_docs = { level = "deny", priority = 1 }
|
|
missing_debug_implementations = "warn"
|
|
non_ascii_idents = "warn"
|
|
nonstandard-style = "warn"
|
|
trivial_numeric_casts = "warn"
|
|
unstable_features = "warn"
|
|
unused = "warn"
|
|
unused_import_braces = "warn"
|
|
unused_qualifications = "warn"
|