8acc73d774
Phase 1 (Runtime Substrate): 4 check binaries, --probe, POSIX tests Phase 2 (Wayland Compositor): bounded scaffold, zero warnings Phase 3 (KWin Session): preflight checker (KWin stub, gated on Qt6Quick) Phase 4 (KDE Plasma): 18 KF6 enabled, preflight checker Phase 5 (Hardware GPU): DRM/firmware/Mesa preflight checker Build: zero warnings, all scripts syntax-clean. Oracle-verified.
15 lines
430 B
Rust
15 lines
430 B
Rust
use std::env;
|
|
|
|
fn main() {
|
|
let manifest_dir = env::var("CARGO_MANIFEST_DIR").unwrap();
|
|
let mut arch = env::var("CARGO_CFG_TARGET_ARCH").unwrap();
|
|
if arch == "x86" {
|
|
arch = "i586".to_owned();
|
|
}
|
|
|
|
println!("cargo::rustc-link-arg=-z");
|
|
println!("cargo::rustc-link-arg=max-page-size=4096");
|
|
println!("cargo::rustc-link-arg=-T");
|
|
println!("cargo::rustc-link-arg={manifest_dir}/src/{arch}.ld");
|
|
}
|