(c: u8)
| 94 | pub struct Console {} |
| 95 | |
| 96 | impl Console { |
| 97 | pub fn put(c: u8) { |
| 98 | let ci8: Option<i8> = c.try_into().ok(); |
| 99 | if let Some(v) = ci8 { |
| 100 | unsafe { |
| 101 | opensbi_sys::sbi_putc(c); |
| 102 | } |
| 103 | } |
| 104 | } |
| 105 | } |
| 106 |
nothing calls this directly
no outgoing calls
no test coverage detected