Use variable in the format string (#3463)

This commit is contained in:
Björn Quentin 2025-05-07 08:50:22 +02:00 committed by GitHub
parent 63ed40c368
commit 78bd99e653
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -243,7 +243,7 @@ fn main() -> Result<(), Box<dyn Error>> {
// With the architecture-specific linker scripts taken care of, we can copy all
// remaining linker scripts which are common to all devices:
copy_dir_all(&config_symbols, &cfg, "ld/sections", &out)?;
copy_dir_all(&config_symbols, &cfg, format!("ld/{}", chip), &out)?;
copy_dir_all(&config_symbols, &cfg, format!("ld/{chip}"), &out)?;
Ok(())
}