Update to 0.1.42; Fixes: RHBZ#2353251

Signed-off-by: Michel Lind <salimma@fedoraproject.org>
This commit is contained in:
Michel Lind 2025-04-24 13:53:40 -05:00
commit c8b93b1d48
No known key found for this signature in database
GPG key ID: 8B229D2F7CCC04F2
4 changed files with 9 additions and 6 deletions

1
.gitignore vendored
View file

@ -4,3 +4,4 @@
/libmimalloc-sys-0.1.35.crate
/libmimalloc-sys-0.1.38.crate
/libmimalloc-sys-0.1.39.crate
/libmimalloc-sys-0.1.42.crate

2
get-bundled-mimalloc-ver.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
grep "define MI_MALLOC_VERSION" libmimalloc-sys-*/c_src/mimalloc/include/mimalloc.h | cut -d' ' -f3 | fold -w1 | paste -sd.

View file

@ -1,11 +1,11 @@
# Generated by rust2rpm 26
%bcond_without check
# Generated by rust2rpm 27
%bcond check 1
%global debug_package %{nil}
%global crate libmimalloc-sys
Name: rust-libmimalloc-sys
Version: 0.1.39
Version: 0.1.42
Release: %autorelease
Summary: Sys crate wrapping the mimalloc allocator
@ -18,8 +18,8 @@ BuildRequires: cargo-rpm-macros >= 24
# TODO: get this to build against system mimalloc
# or ask mimalloc dev to switch to mimalloc-sys
# https://github.com/purpleprotocol/mimalloc_rust/issues/73
# see MI_MALLOC_VERSION in mimalloc/include/mimalloc.h
Provides: bundled(mimalloc) = 2.1.7
# use get-bundled-mimalloc-ver.sh after unpacking the crate
Provides: bundled(mimalloc) = 2.2.3
%global _description %{expand:
Sys crate wrapping the mimalloc allocator.}

View file

@ -1 +1 @@
SHA512 (libmimalloc-sys-0.1.39.crate) = db578da8722b82eafac3b587b2db24cbf95fbd85a25b7ce30286deb9eda6820b5d452ece7c3126a2d8c96400941dc3946b4cb2f46172241861405aa09a3a2451
SHA512 (libmimalloc-sys-0.1.42.crate) = 0daf3ef819820d7d0ba7d189038ad33ce7fbec370edb5f2d07b47569d359f0364e8b43639743e0a800ca41bf432f043ca71bc9dbf900705732b856e147ec6d85