Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[common] Support 32-bit builds#448

Open
Hans-Halverson wants to merge 2 commits into
masterHans-Halverson/brimstone:masterfrom
32-bit-supportHans-Halverson/brimstone:32-bit-supportCopy head branch name to clipboard
Open

[common] Support 32-bit builds#448
Hans-Halverson wants to merge 2 commits into
masterHans-Halverson/brimstone:masterfrom
32-bit-supportHans-Halverson/brimstone:32-bit-supportCopy head branch name to clipboard

Conversation

@Hans-Halverson

@Hans-Halverson Hans-Halverson commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Summary

Add support for 32-bit builds. Mostly fixing a few places we were incorrectly using usize instead the fixed 64-bit Value size.

  • Heap size limits are conservative: defaults range is 16MB to 128MB, and new max is 256MB.
  • Note that HeapVIsitor::visit_value needs to explicitly convert between pointers/values instead of transmuting ref
  • New max size for strings and array buffers on 32-bit platforms. Also added some overflow guards in to_index and typed array constructors.

Tests

  • New CI job which runs integration tests compiled for 32-bit linux (i686-unknown-linux-gnu)

@Hans-Halverson
Hans-Halverson force-pushed the 32-bit-support branch 7 times, most recently from f862861 to a618229 Compare July 14, 2026 01:14
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.