Skip to content

*: support 32-bit#2878

Merged
RaduBerinde merged 1 commit intocockroachdb:masterfrom
RaduBerinde:fix-32-bit-build
Sep 5, 2023
Merged

*: support 32-bit#2878
RaduBerinde merged 1 commit intocockroachdb:masterfrom
RaduBerinde:fix-32-bit-build

Conversation

@RaduBerinde
Copy link
Copy Markdown
Member

This change makes the necessary code and test changes to allow building on 32-bit, and to make all tests pass.

We also add a CI target that uses GOARCH=386.

Fixes #2853

@RaduBerinde RaduBerinde requested review from a team and sumeerbhola September 5, 2023 18:50
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Collaborator

@sumeerbhola sumeerbhola left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 27 of 27 files at r1.
Reviewable status: all files reviewed (commit messages unreviewed), 1 unresolved discussion (waiting on @RaduBerinde)


internal/constants/constants.go line 8 at r1 (raw file):

const (
	oneIf64Bit = ^uint(0) >> 63

and zero if not, yes?

This change makes the necessary code and test changes to allow
building on 32-bit, and to make all tests pass.

We also add a CI target that uses `GOARCH=386`.

Fixes cockroachdb#2853
Copy link
Copy Markdown
Member Author

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

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

Reviewable status: 26 of 27 files reviewed, 1 unresolved discussion (waiting on @sumeerbhola)


internal/constants/constants.go line 8 at r1 (raw file):

Previously, sumeerbhola wrote…

and zero if not, yes?

Yes, added a comment.

@RaduBerinde
Copy link
Copy Markdown
Member Author

TFTR!

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.

32-bit platform support

3 participants