more fixes for --cpu:avr [backport] (#12748)
This commit is contained in:
parent
80b508d337
commit
fd85a5ae05
4 changed files with 8 additions and 5 deletions
|
|
@ -78,7 +78,7 @@ proc reprEnum(e: int, typ: PNimType): string {.compilerRtl.} =
|
|||
result = $e & " (invalid data!)"
|
||||
|
||||
type
|
||||
PByteArray = ptr array[0xffff, byte]
|
||||
PByteArray = ptr UncheckedArray[byte] # array[0xffff, byte]
|
||||
|
||||
proc addSetElem(result: var string, elem: int, typ: PNimType) {.benign.} =
|
||||
case typ.kind
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue