regalloc2 icon indicating copy to clipboard operation
regalloc2 copied to clipboard

Can't use with `hashbrown/nightly` feature

Open Imberflur opened this issue 11 months ago • 1 comments

This crates uses allocator-api2 without exposing a feature to enable #![feature(allocator_api)].

Due to issues outlined here https://github.com/zakarumych/allocator-api2/issues/19, this makes it is impossible to have this crate anywhere in the dependency tree along with hashbrown when enabling the hashbrown/nightly feature.

Imberflur avatar Jan 23 '25 21:01 Imberflur

PR welcome -- I'm not really that familiar with the present allocator API situation. Adding a Cargo feature for this sounds reasonable to me.

It looks like our use of the crate came in with #196 -- @jakubDoka , any thoughts?

cfallin avatar Jan 23 '25 22:01 cfallin