downgrade libmimalloc-sys again , as the newest version fails with:

warning: libmimalloc-sys@0.1.39: In file included from c_src/mimalloc/src/prim/prim.c:12,
warning: libmimalloc-sys@0.1.39:                  from c_src/mimalloc/src/static.c:38:
warning: libmimalloc-sys@0.1.39: c_src/mimalloc/src/prim/windows/prim.c: In function 'win_is_out_of_memory_error':
warning: libmimalloc-sys@0.1.39: c_src/mimalloc/src/prim/windows/prim.c:212:10: error: 'ERROR_COMMITMENT_MINIMUM' undeclared (first use in this function); did you mean 'ERROR_COMMITMENT_LIMIT'?
warning: libmimalloc-sys@0.1.39:   212 |     case ERROR_COMMITMENT_MINIMUM:
warning: libmimalloc-sys@0.1.39:       |          ^~~~~~~~~~~~~~~~~~~~~~~~
warning: libmimalloc-sys@0.1.39:       |          ERROR_COMMITMENT_LIMIT
warning: libmimalloc-sys@0.1.39: c_src/mimalloc/src/prim/windows/prim.c:212:10: note: each undeclared identifier is reported only once for each function it appears in
error: failed to run custom build command for `libmimalloc-sys v0.1.39`
This commit is contained in:
Marcel Märtens 2024-07-09 23:21:40 +02:00
parent a698a7d46e
commit 54e3cef223

8
Cargo.lock generated
View File

@ -3626,9 +3626,9 @@ checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058"
[[package]]
name = "libmimalloc-sys"
version = "0.1.39"
version = "0.1.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "23aa6811d3bd4deb8a84dde645f943476d13b248d818edcf8ce0b2f37f036b44"
checksum = "0e7bb23d733dfcc8af652a78b7bf232f0e967710d044732185e561e47c0336b6"
dependencies = [
"cc",
"libc",
@ -3901,9 +3901,9 @@ dependencies = [
[[package]]
name = "mimalloc"
version = "0.1.43"
version = "0.1.42"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68914350ae34959d83f732418d51e2427a794055d0b9529f48259ac07af65633"
checksum = "e9186d86b79b52f4a77af65604b51225e8db1d6ee7e3f41aec1e40829c71a176"
dependencies = [
"libmimalloc-sys",
]