Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove mimalloc workaround #4606

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

dfunkt
Copy link
Contributor

@dfunkt dfunkt commented Jun 2, 2024

  • libatomic linking for armv6 has been fixed in mimalloc v0.1.42

For reference: purpleprotocol/mimalloc_rust@446fc23

Copy link
Collaborator

@BlackDex BlackDex left a comment

Choose a reason for hiding this comment

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

This unfortunately is not true.
The new mimalloc-sys crate actually breaks everything.
It also seems it has been broken for a longer time already.
So, this is something we need to look into.

The binaries do work within an Alpine environment, but not as a true static binary anymore.

@dfunkt
Copy link
Contributor Author

dfunkt commented Jun 14, 2024

Are we waiting for a new crate release or should I override it with commit purpleprotocol/mimalloc_rust@992c9da?

@BlackDex
Copy link
Collaborator

I have not yet checked if the removal works for all arch's.

@dfunkt dfunkt force-pushed the remove-mimalloc-workaround branch from 70d0223 to f40f3ba Compare June 17, 2024 10:12
BlackDex added a commit to BlackDex/vaultwarden that referenced this pull request Jun 17, 2024
- Updated all crates including Diesel and the new mysqlclient-sys
- Updated the MSRV to v1.78 as that is what Diesel mandates
- Added the mimalloc crate as a patch for now to fix armv6 static builds
  This probably makes dani-garcia#4606 possible
BlackDex added a commit to BlackDex/vaultwarden that referenced this pull request Jun 17, 2024
- Updated all crates including Diesel and the new mysqlclient-sys
- Updated the MSRV to v1.78 as that is what Diesel mandates
- Added the mimalloc crate as a patch for now to fix armv6 static builds
  This probably makes dani-garcia#4606 possible
BlackDex added a commit to BlackDex/vaultwarden that referenced this pull request Jun 19, 2024
- Updated all crates including Diesel and the new mysqlclient-sys
- Updated the MSRV to v1.78 as that is what Diesel mandates
- Added the mimalloc crate as a patch for now to fix armv6 static builds
  This probably makes dani-garcia#4606 possible
- Updated web-vault to v2024.5.1
- Updated GitHub Actions
  Fixed an issue with the localhost images for extracting the musl binaries.
dani-garcia pushed a commit that referenced this pull request Jun 19, 2024
- Updated all crates including Diesel and the new mysqlclient-sys
- Updated the MSRV to v1.78 as that is what Diesel mandates
- Added the mimalloc crate as a patch for now to fix armv6 static builds
  This probably makes #4606 possible
- Updated web-vault to v2024.5.1
- Updated GitHub Actions
  Fixed an issue with the localhost images for extracting the musl binaries.
@dfunkt dfunkt force-pushed the remove-mimalloc-workaround branch from f40f3ba to d73c993 Compare June 19, 2024 11:18
- libatomic linking for armv6 has been fixed in purpleprotocol/mimalloc_rust@992c9da
@dfunkt dfunkt force-pushed the remove-mimalloc-workaround branch from d73c993 to 9e880cc Compare June 22, 2024 10:56
@BlackDex BlackDex merged commit 8e2a87f into dani-garcia:main Jun 24, 2024
5 checks passed
@dfunkt dfunkt deleted the remove-mimalloc-workaround branch June 25, 2024 01:48
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.

None yet

3 participants