Skip to content

build(rust): mimalloc-safe/no_opt_arch on aarch64#6072

Merged
lukastaegert merged 2 commits intorollup:masterfrom
cyyynthia:mimalloc-arm64
Aug 21, 2025
Merged

build(rust): mimalloc-safe/no_opt_arch on aarch64#6072
lukastaegert merged 2 commits intorollup:masterfrom
cyyynthia:mimalloc-arm64

Conversation

@cyyynthia
Copy link
Contributor

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no
  • N/A

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

Description

initially introduced by #6055 for linux, this did not include android devices as it is considerd its own operating system with linux being the "vendor"; triplets are quite inconsistent and confusing at times!

this change conservatively disables arch-specific optimizations for all aarch64 targets, to ensure broad compatibility.

initially introduced by rollup#6055 for linux, this did not include android
devices as it is considerd its own operating system with linux being the
"vendor"; triplets are quite inconsistent and confusing at times!

this change conservatively disables arch-specific optimizations for all
aarch64 targets, to ensure broad compatibility.

closes rollup#6047
@vercel
Copy link

vercel bot commented Aug 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
rollup Ready Ready Preview Comment Aug 20, 2025 9:27am

@cyyynthia cyyynthia marked this pull request as draft August 18, 2025 09:19
@cyyynthia cyyynthia marked this pull request as ready for review August 18, 2025 09:22
@codecov
Copy link

codecov bot commented Aug 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.79%. Comparing base (f74df5e) to head (6798cae).
⚠️ Report is 5 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6072   +/-   ##
=======================================
  Coverage   98.79%   98.79%           
=======================================
  Files         271      271           
  Lines       10598    10599    +1     
  Branches     2830     2831    +1     
=======================================
+ Hits        10470    10471    +1     
  Misses         88       88           
  Partials       40       40           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@lukastaegert lukastaegert left a comment

Choose a reason for hiding this comment

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

Hmm, this would also disable optimizations for aarch64-apple-darwin, which is a very common tier 1 target that is also fully tested in every pipeline. I would feel better if we could keep optimizations for this one, what do you think? I agree about the other aarch64 targets, though.

@cyyynthia
Copy link
Contributor Author

Ooh Apple targets are a very good point. Updated the dependency condition :)

Copy link
Member

@lukastaegert lukastaegert left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

@lukastaegert lukastaegert added this pull request to the merge queue Aug 21, 2025
Merged via the queue into rollup:master with commit a44003e Aug 21, 2025
41 checks passed
@github-actions
Copy link

This PR has been released as part of [email protected]. You can test it via npm install rollup.

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.

illegal instruction on android arm64

2 participants