mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
The new cpacfinfo command provides information about CPACF, such as which CPACF functions are installed, and make use of the new MSA 13 Query Authentication Information function. Signed-off-by: Finn Callies <fcallies@linux.ibm.com> Reviewed-by: Harald Freudenberger <freude@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
15 lines
435 B
Rust
15 lines
435 B
Rust
// SPDX-License-Identifier: MIT
|
|
//
|
|
// Copyright IBM Corp. 2024
|
|
|
|
fn main() {
|
|
#[cfg(target_arch = "s390x")]
|
|
cc::Build::new().file("src/stfle.c").compile("stfle");
|
|
#[cfg(not(target_arch = "s390x"))]
|
|
{
|
|
println!("cargo:warning=cpacfinfo will have no functionality on non s390x architectures!");
|
|
cc::Build::new().file("src/noop.c").compile("stfle");
|
|
}
|
|
println!("cargo:rerun-if-changed=src/stfle.c")
|
|
}
|