purpleprotocol / mimalloc_rust

A Rust wrapper over Microsoft's MiMalloc memory allocator
MIT License
486 stars 42 forks source link

libmimalloc-sys is missing #![no_std] and injects std into my no_std crate #59

Closed asrael closed 3 years ago

asrael commented 3 years ago

Error message I receive during the build from my crate:

error[E0152]: found duplicate lang item panic_impl 28 fn panic(_: &PanicInfo) -> ! { loop {} } ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

= note: the lang item is first defined in crate std (which libmimalloc_sys depends on)

asrael commented 3 years ago

See PR comment: This has probably gone stale, also it's a very simple change once the platform deps were fixed in a previous release from the cmake-rs -> cc-rs change.

LANCENET commented 2 years ago

See PR comment: This has probably gone stale, also it's a very simple change once the platform deps were fixed in a previous release from the cmake-rs -> cc-rs change.