a121-rs icon indicating copy to clipboard operation
a121-rs copied to clipboard

multiple definition of malloc, calloc, and free

Open noahbliss opened this issue 1 year ago • 0 comments
trafficstars

Cross-posting this issue: https://github.com/esp-rs/esp-wifi/issues/438

I use another crate which wraps some C code. That crate and this crate both rely on the C functions listed in the title. When both crates are used, the compiler dies of an aneurysm. Would it make sense to make a default-enabled feature which enables these functions inside the crate, but that users can opt-out of if they have implemented them inside their own parent project?

noahbliss avatar Mar 12 '24 04:03 noahbliss