Repository navigation
Merged
Conversation
added 5 commits
November 28, 2026 09:02
…/MAX intrinsics (#3483)
Contributor
Author
|
Seed-driven battery verdict at |
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.
Summary
Bundled Wave 3 commits verified under one seed-driven battery:
runtime/codegen: implement @[ffi_stack] OS-thread stack switching (#583)@[ffi_stack]on functions and impl methods (src/Ast.with,src/Parser.with,src/ComptimeTransform.with).@[ffi_stack]onasync fnand on any function that may suspend directly or transitively (src/SemaCheck.with).with_fiber_run_on_ffi_stackreusingwith_fiber_prepare_initial_context+with_fiber_switchacross Darwin/Linux (rt/fiber_core_darwin.with), Windows (rt/fiber_core_windows.with), and direct call stub (rt/fiber_stubs.with), with nested depth tracking, panic cleanup, and runtime yield guard.src/CodegenDispatch.with(handlingsretandbyvalattributes) and fails loudly onwasm32and--emit-c.§14.19 @[ffi_stack]implemented intest/conformance/conformance.tsvwith 4 behavior/compile-error tests.std/runtime/sema: implement List.new_in(allocator) with ephemeral virality (§8.3, #570)with_arena_*) and allocator-backedListcells (start < 0in the existing 32-byteListheader, zero ABI change) supporting growth, O(1)take_front/restore_front, D120 copy-on-write sharing, and clean drops (rt/rt_core.with).std.alloc.ArenaandFrameArenato interior-mutable state pointers matchingTempArena(lib/std/alloc.with) so&Arena/&FrameArena/Rc[A]/Arc[A]allocate directly.MirIntrinsic.LIST_NEW_IN/CcBuiltin.LIST_NEW_INacross Sema, MIR, LLVM, and C backends, enforcing §8.3 ephemeral virality (borrowed&Arena/&FrameArena/&TempArenacreates ephemeral Lists that cannot escape or be stored in structs; ownedRc[A]/Arc[A]/Acreates storable Lists), and fixes UFCSRc.clone(&a)/Arc.clone(&a)generic type inference.§8.3 List.new_in(allocator)implemented intest/conformance/conformance.tsvwith behavior,--debug-alloc(leak count=0), and compile-error tests.std/sema/codegen: move float min/max onto MinMax trait and delete MIN/MAX intrinsics (#3483)impl MinMax for f32andimpl MinMax for f64(IEEE 754minNum/maxNumNaN semantics) inlib/std/traits.with.float.min/float.maxfromsrc/BuiltinSigs.with, deletesMirIntrinsic.MIN/MAXandCcBuiltin.MIN/MAXfrom Sema, LLVM codegen, and C codegen.behav_3483_float_min_max_in_library.withcovering f32/f64 min/max, NaN handling, genericMinMaxdispatch, andf64.min/f32.maxconstants.Verification
WITH=$PWD/src/main with run tools/battery.with); verdict will be posted before marking ready.