aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen/shared_resources.rs
diff options
context:
space:
mode:
authorGravatar datdenkikniet <jcdra1@gmail.com> 2021-08-19 21:32:12 +0200
committerGravatar Johannes Draaijer <johannes@widefind.se> 2021-08-20 08:12:13 +0200
commitcdbd8a2cede668e1181030bd7c439592a8f0e980 (patch)
treec39efb7e0259faef3f9ca03ac87b9d525c1e6093 /macros/src/codegen/shared_resources.rs
parent3bf5a4f7a06fdb5d341d900c3e937d4c9afd2dda (diff)
downloadrtic-cdbd8a2cede668e1181030bd7c439592a8f0e980.tar.gz
rtic-cdbd8a2cede668e1181030bd7c439592a8f0e980.tar.zst
rtic-cdbd8a2cede668e1181030bd7c439592a8f0e980.zip
Use `mark_internal_name` by default for methods in `util` to make usage of these functions more straightforward.
fq_ident is always internal rq_ident is always internal monotonic_ident is always internal inputs_ident is always internal local_resources_ident is always internal shared_resources_ident is always internal monotonic_instants_ident is always internal tq_ident is always internal timer_queue_marker_ident is always internal static_shared_resource_ident is always internal static_local_resource_ident is always internal declared_static_local_resource_ident is always internal Only names, not idents, are now marked as internal Use same rtic internal everywhere
Diffstat (limited to 'macros/src/codegen/shared_resources.rs')
-rw-r--r--macros/src/codegen/shared_resources.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/src/codegen/shared_resources.rs b/macros/src/codegen/shared_resources.rs
index 479ca93e..07f8c36a 100644
--- a/macros/src/codegen/shared_resources.rs
+++ b/macros/src/codegen/shared_resources.rs
@@ -21,7 +21,7 @@ pub fn codegen(
for (name, res) in &app.shared_resources {
let cfgs = &res.cfgs;
let ty = &res.ty;
- let mangled_name = util::mark_internal_ident(&util::static_shared_resource_ident(&name));
+ let mangled_name = &util::static_shared_resource_ident(&name);
// late resources in `util::link_section_uninit`
let section = util::link_section_uninit();