Repository navigation
Fix typed codegen and expand portable std capabilities - #701
Merged
LunaStev merged 14 commits intoSep 23, 2026
Merged
Conversation
This was referenced Sep 23, 2026
4 tasks
Open
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This addresses thirteen compiler and standard-library issues in separate commits. Typed pointer arithmetic, shadowing, contextual float conversions and SysV register exhaustion now preserve runtime values. Variants use one aligned payload area instead of reserving storage for every case.
The standard library adds
size_of<T>()/align_of<T>(), transactional ULEB128 cursors, reusable WASM allocations, and OS entropy filling. Windows filesystem operations preserve portable error categories and convert UTF-8 paths through native wide APIs. Linux resolution accepts numeric IPv4/IPv6 addresses and ports without libc; caller-owned address tables provide explicit hostname/service mappings. Unconfigured names return unsupported, with no implicit DNS policy. Update std with the compiler: its compatibility revision is now 4.Validation:
-D warnings, formatting, and whitespace checks pass.-nostdlib -staticand compile for four Linux architectures.Closes #678
Closes #679
Closes #680
Closes #681
Closes #670
Closes #699
Closes #674
Closes #700
Closes #450
Closes #523
Closes #525
Closes #383
Closes #567
The first CI run exposed an unrelated Linux ARM64 provisioning failure: apt.llvm.org resolved to an unreachable IPv6 address before LLVM was installed. The follow-up CI commit uses retryable IPv4 downloads and gates the AAPCS64 test on successful LLVM setup. The updated head is being revalidated. Independently reproduced integer comparison-literal truncation is tracked in #702; it is outside the thirteen issues addressed here.