diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2023-01-08 19:40:31 +0100 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2023-03-01 00:33:28 +0100 |
| commit | ceaf3613d3256f60b139a4f93220e3c298603b83 (patch) | |
| tree | 02ee64f2ac4bebea1abe85f85ca761e44ea8beb9 /examples/extern_spawn.rs | |
| parent | 9a67f00a30f14df3b9635913f728afd0b40c138d (diff) | |
Update semihosting
Diffstat (limited to 'examples/extern_spawn.rs')
| -rw-r--r-- | examples/extern_spawn.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/extern_spawn.rs b/examples/extern_spawn.rs index 2d9d7b6..8a3928d 100644 --- a/examples/extern_spawn.rs +++ b/examples/extern_spawn.rs @@ -12,7 +12,7 @@ use panic_semihosting as _; // Free function implementing the spawnable task `foo`. // Notice, you need to indicate an anonymous lifetime <'a_> async fn foo(_c: app::foo::Context<'_>) { - hprintln!("foo").unwrap(); + hprintln!("foo"); debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator } |
