Commit 6be39dd
committed
fix(rfel): use valid section-length fallback
The prior ELF alignment fix passed an integer to `Option::unwrap_or_else`, which
expects a zero-argument closure and prevents `rfel` from compiling. Use
`unwrap_or` for the eager zero fallback so the total-length calculation
type-checks.
Refs: #35
Signed-off-by: Zhouqi Jiang <luojia@rustsbi.com>1 parent 411a407 commit 6be39dd
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
0 commit comments