Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix builds on 32bit #1115

Merged
merged 1 commit into from
Apr 1, 2023
Merged

Conversation

Vaelatern
Copy link
Contributor

If you put the uint32 type at the top instead of later, 32 bit builds

All credit @ahesford

Copy link
Collaborator

@alixander alixander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh interesting. i wonder if there's an easy automated test we can do to make sure this doesn't regress.

@nhooyr should we include a GOARCH=386 build in the CI? (i think that's what cross compiles to 32-bit: https://go.dev/doc/install/source#environment)

@nhooyr
Copy link
Contributor

nhooyr commented Mar 31, 2023

@alixander that would work. I opened #1121

@alixander
Copy link
Collaborator

great. @Vaelatern can you please attach a changelog line that this was a bug fixed? thanks again

https://github.com/terrastruct/d2/blob/master/ci/release/changelogs/next.md

If you put the uint32 type at the top instead of later, 32 bit builds

All credit @ahesford
@Vaelatern
Copy link
Contributor Author

Done

@alixander alixander merged commit c674073 into terrastruct:master Apr 1, 2023
@Vaelatern Vaelatern deleted the fix-32-bit-again branch April 2, 2023 04:02
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.

3 participants