mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-12 23:13:40 +00:00
builder: use newer version of gohex
This version adds error handling for the DumpIntelHex method, and thus fixes a TODO comment.
This commit is contained in:
committed by
Ron Evans
parent
0e73790d67
commit
3c31a3110f
+1
-2
@@ -123,8 +123,7 @@ func objcopy(infile, outfile string) error {
|
||||
if err != nil {
|
||||
return objcopyError{"failed to create .hex file", err}
|
||||
}
|
||||
mem.DumpIntelHex(f, 16) // TODO: handle error
|
||||
return nil
|
||||
return mem.DumpIntelHex(f, 16)
|
||||
default:
|
||||
panic("unreachable")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user