aboutsummaryrefslogtreecommitdiff
path: root/examples/t-cfg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/t-cfg.rs')
-rw-r--r--examples/t-cfg.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/t-cfg.rs b/examples/t-cfg.rs
index 3deb107c..3da20d4e 100644
--- a/examples/t-cfg.rs
+++ b/examples/t-cfg.rs
@@ -15,9 +15,11 @@ mod app {
}
#[init]
- fn init(_: init::Context) {
+ fn init(_: init::Context) -> init::LateResources {
#[cfg(never)]
static mut BAR: u32 = 0;
+
+ init::LateResources {}
}
#[idle]