Skip to content

Preserve 64-bit integer formatting on 32-bit platforms - #154

Open
efegokdemir wants to merge 1 commit into
Shopify:mainfrom
efegokdemir:efe/lua-format-int32-110
Open

efegokdemir wants to merge 1 commit into
Shopify:mainfrom
efegokdemir:efe/lua-format-int32-110

Conversation

@efegokdemir

Copy link
Copy Markdown

Use int64 and uint64 for Lua’s integer format verbs so values wider than the Go platform word size are preserved on 32-bit targets. Add coverage for the large decimal value in #110 and for unsigned, octal and hexadecimal formats. go test -race ./... passes with Go 1.22.12; the ARMv7 test binary cross-compiles but could not be executed on this host. Addresses #110.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant