aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen/shared_resources.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2021-08-20 06:50:43 +0000
committerGravatar GitHub <noreply@github.com> 2021-08-20 06:50:43 +0000
commitf77b81e0eec2fa9053911d84f02b9a78b84486ec (patch)
treec39efb7e0259faef3f9ca03ac87b9d525c1e6093 /macros/src/codegen/shared_resources.rs
parent3bf5a4f7a06fdb5d341d900c3e937d4c9afd2dda (diff)
parentcdbd8a2cede668e1181030bd7c439592a8f0e980 (diff)
downloadrtic-f77b81e0eec2fa9053911d84f02b9a78b84486ec.tar.gz
rtic-f77b81e0eec2fa9053911d84f02b9a78b84486ec.tar.zst
rtic-f77b81e0eec2fa9053911d84f02b9a78b84486ec.zip
Merge #515
515: `mark_internal_ident` cleanup r=korken89 a=datdenkikniet Refactor so that all `idents` that had to call `mark_ident_internal` before now call `mark_name_internal` in the `util` module by default. The commits can (and probably should) be squashed, they're separated for clarity. Fixes #512 Co-authored-by: datdenkikniet <jcdra1@gmail.com>
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();