Files
s390-tools/rust/cpacfinfo/build.rs
Finn Callies 57a32d98ef rust/cpacfinfo: New CLI tool to provide CPACF information
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>
2024-11-22 17:15:58 +01:00

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")
}