We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa4b694 commit ac4487bCopy full SHA for ac4487b
src/util/split.rs
@@ -1476,8 +1476,8 @@ fn auto_unit_name(
1476
length_limit: 20,
1477
..Default::default()
1478
})
1479
- // Also replace $ to avoid issues with build.ninja
1480
- .replace('$', "_");
+ // Also replace characters that break downstream tooling (build.ninja, linker, etc)
+ .replace(['$', ','], "_");
1481
let mut unit_name = format!("auto_{}_{}", name, section_name.trim_start_matches('.'));
1482
// Ensure the name is unique
1483
if unit_exists(&unit_name, obj, new_splits) {
0 commit comments