Skip to content

Commit acdf708

Browse files
committed
variable_generator: Use qualified name when mangling variable sections
1 parent c771b2a commit acdf708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/generators/variable_generator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ impl<'ctx, 'b> VariableGenerator<'ctx, 'b> {
172172
}
173173

174174
let section = section_mangler::SectionMangler::variable(
175-
global_variable.get_name(),
175+
global_variable.get_qualified_name(),
176176
section_names::mangle_type(
177177
self.global_index,
178178
self.global_index.get_effective_type_by_name(global_variable.get_type_name())?,

0 commit comments

Comments
 (0)