Initial commit

All input and output functions are raw. Improved APIs will be added incrementally.
This commit is contained in:
2025-03-24 19:48:04 -07:00
commit 984ad106ab
20 changed files with 726 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
fn main() {
for (k, v) in std::env::vars() {
architect::output::raw::warning(&format!("{k}={v}"));
}
let manifest_path = architect::input::raw::cargo_manifest_path_os().unwrap();
architect::output::raw::warning(&format!("Manifest Path: {manifest_path:?}"));
let arch = architect::input::raw::cargo_cfg_target_arch_os().unwrap();
let os = architect::input::raw::cargo_cfg_target_os_os().unwrap();
let endian = architect::input::raw::cargo_cfg_target_endian_os().unwrap();
architect::output::raw::warning(&format!("Target: {arch:?} {os:?} ({endian:?})"));
}