Skip to content

[pull] master from clockworklabs:master#549

Merged
pull[bot] merged 2 commits into
age-rs:masterfrom
clockworklabs:master
Jun 30, 2026
Merged

[pull] master from clockworklabs:master#549
pull[bot] merged 2 commits into
age-rs:masterfrom
clockworklabs:master

Conversation

@pull

@pull pull Bot commented Jun 30, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

krisajenkins and others added 2 commits June 29, 2026 21:21
Re-enable the Nix flake on aarch64-darwin.

PR #3422 added the flake but bailed out on Darwin pending a fix for
"could not find native static library `rusty_v8`". With v8 now on
145.0.0 (PR #4073) the build itself works on aarch64-darwin, so this
removes the `builtins.abort` guard and fills in the real sha256 for the
v145.0.0 rusty_v8 archive on aarch64-darwin.

The underlying bug — v8's build.rs writing `librusty_v8.a` outside the
locations cargo and crane treat as authoritative — already has a known
workaround in PR #3921, but that fix only lives in
`.github/workflows/ci.yml` and so does not protect the Nix build. This
ports the equivalent guard into the flake as a `preBuild` on
`commonArgs`: if the v8 build directory exists but `librusty_v8.a` is
missing, clean and rebuild just the v8 crate. With current
nixpkgs/crane the file does in fact survive the `buildDepsOnly` →
`buildPackage` handoff on aarch64-darwin, so the guard no-ops on the
happy path; it is defence-in-depth for the next time crane or nixpkgs
shifts.

x86_64-darwin and aarch64-linux still use placeholder hashes; users on
those platforms will continue to hit the existing fail-then-paste-hash
loop documented in `librusty_v8.nix`.

# API and ABI breaking changes

None. Build-system only, no runtime change.

# Expected complexity level and risk

1.

# Testing

- [x] `nix flake check --no-build` passes on aarch64-darwin.
- [x] `nix build .#default` produces working `spacetime`,
  `spacetimedb-cli`, and `spacetimedb-standalone` binaries; all three
  report `spacetimedb tool version 2.3.0`.
- [x] `nix build .#checks.aarch64-darwin.workspace-fmt` passes.
- [x] `nix develop --command rustc --version` succeeds (the command
  originally reported failing before this change).
- [x] Confirmation from a reviewer with x86_64-linux that the change
  has not regressed the previously working platform.

Co-authored-by: Phoebe Goldman <phoebe@clockworklabs.io>
# Description of Changes

Removes `arg_id` from read sets, and also moves view lifecycle
management from `st_view_sub` into the committed state. Trying to move
away from system tables and persistent state in general for views since
this has been the source of many issues.

# API and ABI breaking changes

None

# Expected complexity level and risk

2

# Testing

Existing coverage.
@pull pull Bot locked and limited conversation to collaborators Jun 30, 2026
@pull pull Bot added the ⤵️ pull label Jun 30, 2026
@pull pull Bot merged commit c009c67 into age-rs:master Jun 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants