aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index e7a11a9..dd64001 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,9 @@
-fn main() {
- println!("Hello, world!");
+use std::fs::File;
+use std::io::{self, Write};
+
+fn main() -> io::Result<()> {
+ let mut f = File::create("/debug.txt")?;
+ f.write_all("boot successful".as_bytes())?;
+
+ Ok(())
}