aboutsummaryrefslogtreecommitdiff
path: root/examples/t-spawn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/t-spawn.rs')
-rw-r--r--examples/t-spawn.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/t-spawn.rs b/examples/t-spawn.rs
index 72143c5b..efb748bc 100644
--- a/examples/t-spawn.rs
+++ b/examples/t-spawn.rs
@@ -10,10 +10,12 @@ use panic_halt as _;
#[rtic::app(device = lm3s6965)]
mod app {
#[init(spawn = [foo, bar, baz])]
- fn init(c: init::Context) {
+ fn init(c: init::Context) -> init::LateResources {
let _: Result<(), ()> = c.spawn.foo();
let _: Result<(), u32> = c.spawn.bar(0);
let _: Result<(), (u32, u32)> = c.spawn.baz(0, 1);
+
+ init::LateResources {}
}
#[idle(spawn = [foo, bar, baz])]
riter Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/ModuleLoader.cpp (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-02-03Run tests on pull requestsGravatar Ashcon Partovi 1-0/+7
2023-02-03Run tests on pushGravatar Ashcon Partovi 1-0/+7
2023-02-03anotherGravatar Dylan Conway 1-1/+1
2023-02-03integers overflowingGravatar Dylan Conway 1-1/+1
2023-02-03Attempt to debug annotations 2Gravatar Ashcon Partovi 1-4/+1
2023-02-03Attempt to debug annotationsGravatar Ashcon Partovi 1-0/+7
2023-02-03Fix console output in bun wiptestGravatar Ashcon Partovi 1-4/+3
2023-02-03Use GitHub action SDKGravatar Ashcon Partovi 4-10/+16