Skip to content

fix(ci): pin mimalloc-safe to 0.1.58#22329

Merged
graphite-app[bot] merged 1 commit into
mainfrom
codex/revert-mimalloc-safe-0-1-58
May 11, 2026
Merged

fix(ci): pin mimalloc-safe to 0.1.58#22329
graphite-app[bot] merged 1 commit into
mainfrom
codex/revert-mimalloc-safe-0-1-58

Conversation

@camc314

@camc314 camc314 commented May 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Pins the workspace mimalloc-safe dependency to =0.1.58 and updates Cargo.lock so libmimalloc-sys2 is downgraded from 0.1.55 to 0.1.54.

Why

The Build Oxfmt aarch64-pc-windows-msvc release job started failing after the dependency set moved to mimalloc-safe 0.1.59 / libmimalloc-sys2 0.1.55. The failing log shows clang compiling mimalloc for aarch64-pc-windows-msvc and hitting undeclared MSVC ARM64 atomics (__ldar64 / __stlr64). The same workflow target passed on May 5 with mimalloc-safe 0.1.58 / libmimalloc-sys2 0.1.54.

This is intended as a narrow release unblock while the upstream mimalloc-safe regression is handled separately.

@codspeed-hq

codspeed-hq Bot commented May 11, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 44 untouched benchmarks
⏩ 7 skipped benchmarks1


Comparing codex/revert-mimalloc-safe-0-1-58 (7092da4) with main (d652a55)2

Open in CodSpeed

Footnotes

  1. 7 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

  2. No successful run was found on main (cd7d90d) during the generation of this report, so d652a55 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@camc314 camc314 marked this pull request as ready for review May 11, 2026 17:31
Copilot AI review requested due to automatic review settings May 11, 2026 17:31
@camc314 camc314 self-assigned this May 11, 2026
@camc314 camc314 added the 0-merge Merge with Graphite Merge Queue label May 11, 2026

camc314 commented May 11, 2026

Copy link
Copy Markdown
Contributor Author

Merge activity

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins mimalloc-safe to an exact version in the workspace to avoid a known upstream regression that breaks the aarch64-pc-windows-msvc release build, and updates the lockfile accordingly.

Changes:

  • Pin workspace dependency mimalloc-safe to =0.1.58 to prevent Cargo from selecting newer patch versions.
  • Update Cargo.lock to resolve mimalloc-safe to 0.1.58, which downgrades libmimalloc-sys2 to 0.1.54.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
Cargo.toml Pins mimalloc-safe to =0.1.58 at the workspace dependency level.
Cargo.lock Updates the resolved versions/checksums to match the pinned allocator dependency set.

## Summary

Pins the workspace `mimalloc-safe` dependency to `=0.1.58` and updates `Cargo.lock` so `libmimalloc-sys2` is downgraded from `0.1.55` to `0.1.54`.

## Why

The `Build Oxfmt aarch64-pc-windows-msvc` release job started failing after the dependency set moved to `mimalloc-safe 0.1.59` / `libmimalloc-sys2 0.1.55`. The failing log shows clang compiling mimalloc for `aarch64-pc-windows-msvc` and hitting undeclared MSVC ARM64 atomics (`__ldar64` / `__stlr64`). The same workflow target passed on May 5 with `mimalloc-safe 0.1.58` / `libmimalloc-sys2 0.1.54`.

This is intended as a narrow release unblock while the upstream mimalloc-safe regression is handled separately.
@graphite-app graphite-app Bot force-pushed the codex/revert-mimalloc-safe-0-1-58 branch from 7092da4 to fb2a970 Compare May 11, 2026 17:35
@graphite-app graphite-app Bot merged commit fb2a970 into main May 11, 2026
29 checks passed
@graphite-app graphite-app Bot removed the 0-merge Merge with Graphite Merge Queue label May 11, 2026
@graphite-app graphite-app Bot deleted the codex/revert-mimalloc-safe-0-1-58 branch May 11, 2026 17:39
shulaoda added a commit to rolldown/rolldown that referenced this pull request May 12, 2026
## Summary

Pins the workspace `mimalloc-safe` dependency to `=0.1.58` so
`libmimalloc-sys2` stays on `0.1.54` instead of being resolved to
`0.1.55`.

## Why

The `Build aarch64-pc-windows-msvc` job in `reusable-release-build.yml`
started failing after the dependency set moved to `mimalloc-safe 0.1.59`
/ `libmimalloc-sys2 0.1.55`. clang fails to compile mimalloc for
`aarch64-pc-windows-msvc` with undeclared MSVC ARM64 atomics:

```
./c_src/mimalloc/include/mimalloc/atomic.h:230:14: error: call to undeclared function '__ldar64'
./c_src/mimalloc/include/mimalloc/atomic.h:252:7:  error: call to undeclared function '__stlr64'
...
error: failed to run custom build command for `libmimalloc-sys2 v0.1.55`
```

Failing run:
https://github.com/rolldown/rolldown/actions/runs/25691372335/job/75431916428

Same regression and same fix as oxc-project/oxc#22329. Intended as a
narrow unblock while the upstream `mimalloc-safe` / `libmimalloc-sys2`
regression is handled separately.
IWANABETHATGUY pushed a commit to rolldown/rolldown that referenced this pull request May 18, 2026
## Summary

Pins the workspace `mimalloc-safe` dependency to `=0.1.58` so
`libmimalloc-sys2` stays on `0.1.54` instead of being resolved to
`0.1.55`.

## Why

The `Build aarch64-pc-windows-msvc` job in `reusable-release-build.yml`
started failing after the dependency set moved to `mimalloc-safe 0.1.59`
/ `libmimalloc-sys2 0.1.55`. clang fails to compile mimalloc for
`aarch64-pc-windows-msvc` with undeclared MSVC ARM64 atomics:

```
./c_src/mimalloc/include/mimalloc/atomic.h:230:14: error: call to undeclared function '__ldar64'
./c_src/mimalloc/include/mimalloc/atomic.h:252:7:  error: call to undeclared function '__stlr64'
...
error: failed to run custom build command for `libmimalloc-sys2 v0.1.55`
```

Failing run:
https://github.com/rolldown/rolldown/actions/runs/25691372335/job/75431916428

Same regression and same fix as oxc-project/oxc#22329. Intended as a
narrow unblock while the upstream `mimalloc-safe` / `libmimalloc-sys2`
regression is handled separately.
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.

2 participants