temp commit

This commit is contained in:
2025-07-12 00:46:10 +02:00
parent 1868f1a506
commit fe89188c4b
60 changed files with 1536 additions and 709 deletions

View File

@@ -14,3 +14,15 @@ pub fn orcx(_args: &Args, argv: &[String]) -> io::Result<()> {
}
Ok(())
}
pub fn orcxdb(_args: &Args, argv: &[String]) -> io::Result<()> {
if !Command::new("cargo").args(["build", "-p", "orchid-std"]).status()?.success() {
EXIT_OK.store(false, Ordering::Relaxed);
return Ok(());
}
let path = format!("./target/debug/orcx{}", std::env::consts::EXE_SUFFIX);
if !Command::new("lldb").args([&path]).args(argv).status()?.success() {
EXIT_OK.store(false, Ordering::Relaxed);
}
Ok(())
}