Compare commits
2 commits
16e1bc308f
...
745b574bd6
Author | SHA1 | Date | |
---|---|---|---|
745b574bd6 | |||
d1f80928bf |
2 changed files with 3 additions and 2 deletions
|
@ -18,6 +18,8 @@ pub extern "C" fn _start() -> ! {
|
|||
|
||||
// called on panic
|
||||
#[panic_handler]
|
||||
fn panic(_info: &PanicInfo) -> ! {
|
||||
fn panic(info: &PanicInfo) -> ! {
|
||||
println!("{}", info);
|
||||
|
||||
loop {}
|
||||
}
|
||||
|
|
|
@ -97,7 +97,6 @@ pub fn _print(args: fmt::Arguments) {
|
|||
WRITER.lock().write_fmt(args).unwrap();
|
||||
}
|
||||
|
||||
|
||||
impl Writer {
|
||||
pub fn write_byte(&mut self, byte: u8) {
|
||||
match byte {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue