Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
Contributor
|
Found 18 test failures on Blacksmith runners: Failures
...and 8 more test failures. View all on Blacksmith
|
hellovai
force-pushed
the
claude/cranelift-vendor-rebased
branch
from
December 3, 2026 05:55
204107b to
cc46d29
Compare
hellovai
force-pushed
the
claude/cranelift-bex2-rebased
branch
from
December 3, 2026 05:55
46294ef to
5bb74e2
Compare
This was referenced Dec 3, 2026
…d baml pack --native
…ped JSON errors, and @@rust_type slots
- Fix ARM64 (FEAT_LRCPC) Dekker lost-wakeup races in bex2_scheduler by
upgrading wake_task, io_notified, CancelToken, Semaphore admission,
AtomicLockTable, Future settlement, and AwaitAnyGroup paired atomic
loads/stores/CASes to Ordering::SeqCst.
- Support uint8array (BytesObject) indexing in array_get, array_set
(with low-8-bit masking and COW protection on shared Arc), and array_len.
- Decode uint8array.to_string() lossily as UTF-8 via baml_rt_bytes_to_string_lossy
instead of returning debug '<uint8array len=N>'.
- Register and throw typed baml.json.{ParseError, DecodeError, SerializationError}
instances with jq-style paths and reason tags from baml_rt_json_* entrypoints.
- Emit synthetic handle slot 0 for @@rust_type classes with zero BAML fields in
rodata.rs and align Semaphore._admit/_admitted/_wait_permit with Permit handles.
- Add unit, Dekker stress, and Cranelift E2E regression tests (29/29 passing).
…dlib, and BEP-092 v4 rust items
…tive_rt, baml_rust_workspace, and baml_cranelift
hellovai
force-pushed
the
claude/cranelift-bex2-rebased
branch
from
December 4, 2026 19:04
9b60d93 to
fb530c3
Compare
hellovai
force-pushed
the
claude/cranelift-vendor-rebased
branch
from
December 4, 2026 19:04
cc46d29 to
e71ab2f
Compare
This branch was successfully deployed
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.
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-v2-3x.png)
Stack (on top of
kai/mir-stack-rebased)claude/bcu-meta-rebased): baml_bcu crate +.bmetaclaude/bcu-module-rebased):BcuModule(.bcu) + parallelbaml_mir_linker+ Salsa-free emitfeat/panic-interface)://baml:in_class_onlyandbaml.errors.Panicmarker interfacefeat/cleanup-interface):baml.Cleanupinterface (BEP-093)feat/stdlib-pure-baml): Migrate pure stdlib builtins &Arraycallbacks to pure BAMLavery/rust-items): Rust items frontend (rust function,rust class,builtin function)feat/rust-crate-syntax):rust "<crate>"syntax + disjointRustFnMeta/RustClassMetainBcuModulefeat/native-codegen):baml_rust_workspaceBEP-092 codegen + stubbaml_native_rt+baml_bcu::mangleclaude/cranelift-vendor-rebased): Vendorcranelift-codegen0.138 + LSE2/AVX 128-bit atomicsclaude/cranelift-bex2-rebased): Cranelift AOT backend +bex2M:N runtime + real BEP-092 C ABI +baml pack --native(this PR)What changes
bex2_*M:N runtime & GC (bex2_heap_types,bex2_heap,bex2_io,bex2_scheduler,bex2_runtime):Valueslots (noBUSY_BIT), seqlock maps, wait-free arrays, geometric Cheney semi-space copying GC with safepoint stack maps, and STW coordination.bex2_scheduler) with Chase-Lev deques, two-tier package initialization, cancellation DAGs, and direct-poll Tokio I/O (bex2_io).bex2_runtime).baml_cranelift):.bcuMIR (LinkedMirProgram) to native object files using the vendoredcranelift-codegen0.138 ([patch.crates-io]).CallConv::Tail+ TCO, scalar call ABI,can_throwelision, safepoint prologue/backedge polls, and AArch64 LSE2 + x86_64 AVX 128-bit atomic lowering.baml_cli,baml_db,baml_tests,stow.toml,nextest.toml):baml pack --native+ native linking (native_link.rs,pack_command.rs,pack_native_e2e.rs,cranelift_e2e.rs).baml_craneliftandbex2_*inbaml_language/stow.toml.Rebase adaptations for
kai/mir-stack-rebased/ #5846baml_cranelift/src/{lower,reach}.rsforRvalue::LoadType { template, .. }and removedTyTemplate/RuntimeTy/RealizedTy::RustTypevariants.rust_type: NonetoLocalClassDecltest fixtures inbaml_cranelift/src/lib.rs.kai/mir-stack-rebasedcatch-divergence handling inbaml_compiler2_hir_ty/src/infer.rs(0 diff inbaml_compiler2_hir_ty).baml_fmtto thebaml_baseallowlist inbaml_language/stow.toml.Observable checks
cargo run --profile fasttest -p cargo-stow -- stow --check: 0 violations.cargo fmt --all: clean.baml_cranelift(fasttest): 7/7 passedbex2_heap(fasttest): 5/5 passedbex2_heap_types(fasttest): 7/7 passedbex2_io(fasttest): 6/6 passedbex2_runtime(fasttest): 25/25 passedbex2_scheduler::pkg_init_tests(fasttest): 8/8 passedbex2_scheduler::scheduler_tests(root_task_yield_sleep_io_wait_and_telemetry_hooks): passes in defaulttestprofile (note: hits SIGSEGV under--profile fasttest/opt-level=2, pre-existing from feat(bex2): M:N work-stealing runtime, shared-heap GC, wait-free containers, direct-poll Tokio I/O, and two-tier package init #5847)cargo clippy --profile fasttest --no-deps --tests -p bex2_heap_types -p bex2_heap -p bex2_io -p bex2_scheduler -p bex2_runtime -p baml_cranelift -p baml_db -p baml_cli -- -D warnings: 0 warnings.