pub fn console_print(msg: &[u8]) {
    let len = msg.len();
    unsafe {
        //  Call the Semihosting Console API, which is unsafe.
        console_buffer(msg.as_ptr(), len as u32);
        console_flush();  //  TODO: Remove this.
    }
}
///  Display message `msg` on the Arm Semihosting console (via OpenOCD).
Display message `msg` on the Arm Semihosting console (via OpenOCD).
Display message ` msg ` on the Arm Semihosting console ( via OpenOCD ) .
pub fn console_print(msg: &[u8]) {
    let len = msg.len();
    unsafe {
        //  Call the Semihosting Console API, which is unsafe.
        console_buffer(msg.as_ptr(), len as u32);
        console_flush();  //  TODO: Remove this.
    }
}
pub fn console_print ( msg : & [ u8 ] ) { let len = msg . len ( ) ; unsafe { //  Call the Semihosting Console API, which is unsafe. console_buffer ( msg . as_ptr ( ) , len as u32 ) ; console_flush ( ) ; //  TODO: Remove this. } }
Display message `msg` on the Arm Semihosting console (via OpenOCD).
Display message ` msg ` on the Arm Semihosting console ( via OpenOCD ) .
msg
&[u8]
msg
&[u8]