Get app data by name.
This commit is contained in:
parent
949f2095bb
commit
0c12d43b61
2 changed files with 39 additions and 0 deletions
|
@ -34,6 +34,13 @@ _num_app:
|
|||
}
|
||||
writeln!(f, r#" .quad app_{}_end"#, apps.len() - 1)?;
|
||||
|
||||
writeln!(f, r#"
|
||||
.global _app_names
|
||||
_app_names:"#)?;
|
||||
for app in apps.iter() {
|
||||
writeln!(f, r#" .string "{}\n""#, app)?;
|
||||
}
|
||||
|
||||
for (idx, app) in apps.iter().enumerate() {
|
||||
println!("app_{}: {}", idx, app);
|
||||
writeln!(f, r#"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue