mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
Change custom section names to string slice
We will never need to create these names dynamically. e.g. "reloc.CODE", "reloc.DATA", and "linking" will all come from specific places in our backend code. It's a different story for function names etc.
This commit is contained in:
parent
2da2e51895
commit
b541802819
2 changed files with 2 additions and 2 deletions
|
@ -185,7 +185,7 @@ impl Serialize for RelocationEntry {
|
|||
}
|
||||
|
||||
pub struct RelocationSection<'a> {
|
||||
pub name: String,
|
||||
pub name: &'a str,
|
||||
pub entries: &'a Vec<'a, RelocationEntry>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue