Hello, 

I've the following piece of code that I compile to riscv32im-unknown-none-elf

```rust
#![no_main]
#![no_std]
// use core::fmt::Write;
use k256::ecdsa::{SigningKey, VerifyingKey};
// use riscv_semihosting::{dbg, hio};

extern crate alloc;
extern crate panic_halt;
extern crate riscv_rt;
use embedded_alloc::LlffHeap as Heap;

#[global_allocator]
static HEAP: Heap = Heap::empty();

static SECRET_KEY: [u8; 32] = [
    112, 241, 22, 238, 183, 253, 29, 115, 104, 106, 220, 187, 201, 91, 199, 254, 63, 240, 149, 71,
    141, 43, 156, 246, 48, 169, 197, 254, 208, 40, 218, 192,
];

static PUBLIC_KEY: [u8; 33] = [
    2, 84, 34, 56, 151, 6, 19, 16, 128, 51, 127, 122, 130, 105, 166, 135, 58, 206, 146, 227, 10,
    105, 123, 3, 17, 226, 60, 250, 40, 21, 229, 13, 102,
];

#[riscv_rt::entry]
fn main() -> ! {
    // let mut stdout = hio::hstdout().map_err(|_| core::fmt::Error).unwrap();

    let sk = SigningKey::from_slice(&SECRET_KEY).unwrap();

    assert_eq!(
        VerifyingKey::from(sk.clone())
            .to_sec1_bytes()
            .iter()
            .as_slice(),
        &PUBLIC_KEY
    );

    assert!(VerifyingKey::from_sec1_bytes(&PUBLIC_KEY).is_err());

    loop {}
}
```

Then I run it using "qemu-system-riscv32 -machine virt -semihosting-config enable=on -nographic -kernel" on macos. But I'm unable to detect failure of this assert "assert!(VerifyingKey::from_sec1_bytes(&PUBLIC_KEY).is_err());". Note that ideally the asset should fail. 

Is there a way to detect it from terminal when using qemu? 

FYI I'm using the default memory.x provided in riscv-rt docs with flight modification to memory region to prevent overlap with OpenSBI memory region:

```
MEMORY
{
  L2_LIM : ORIGIN = 0x08000000, LENGTH = 1M /* different RAM region for stack */
  RAM : ORIGIN = 0x80200000, LENGTH = 16K
  FLASH : ORIGIN = 0x20000000, LENGTH = 16M
}
```