You've already forked architect
Restructure crates and update configs
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
fn main() {
|
||||
for (k, v) in std::env::vars() {
|
||||
architect::output::raw::warning(&format!("{k}={v}"));
|
||||
}
|
||||
|
||||
#[allow(clippy::unwrap_used)]
|
||||
let manifest_path = architect::input::raw::cargo_manifest_path_os().unwrap();
|
||||
architect::output::raw::warning(&format!("Manifest Path: {manifest_path:?}"));
|
||||
|
||||
#[allow(clippy::unwrap_used)]
|
||||
let arch = architect::input::raw::cargo_cfg_target_arch_os().unwrap();
|
||||
#[allow(clippy::unwrap_used)]
|
||||
let os = architect::input::raw::cargo_cfg_target_os_os().unwrap();
|
||||
#[allow(clippy::unwrap_used)]
|
||||
let endian = architect::input::raw::cargo_cfg_target_endian_os().unwrap();
|
||||
architect::output::raw::warning(&format!("Target: {arch:?} {os:?} ({endian:?})"));
|
||||
}
|
||||
Reference in New Issue
Block a user