diff --git a/kernel/src/holeybytes/ecah.rs b/kernel/src/holeybytes/ecah.rs index 9bca359..616aaa8 100644 --- a/kernel/src/holeybytes/ecah.rs +++ b/kernel/src/holeybytes/ecah.rs @@ -120,7 +120,7 @@ pub fn handler(vm: &mut Vm) { break 'wow; } }; - let addr = u16::from_le_bytes(msg_vec[1..3].try_into()); + let addr = u16::from_le_bytes(msg_vec[1..3].try_into().unwrap()); let value = unsafe { match size { 1 => x86_in(addr) as u64, diff --git a/sysdata/programs/render_example/src/main.hb b/sysdata/programs/render_example/src/main.hb index 052e1cf..63d6390 100644 --- a/sysdata/programs/render_example/src/main.hb +++ b/sysdata/programs/render_example/src/main.hb @@ -1,4 +1,4 @@ -.{example} := @use("./examples/square.hb") +.{example} := @use("./examples/lines.hb") main := fn(): void { @inline(example)