Add custom allocator support - #592
Conversation
|
I'm not really sure how to read the fuzz failure. It looks like one of the tests times out, but I can't seem to install honggfuzz locally to test ( |
|
Try to rerun the CI with a force push: |
Really should've done this from the start, but I suppose this might make it easier to review
|
Oh it might be due to a change I made to Should I revert the behaviour and just have a |
|
I'm a contributor like you, I think project members should comment on it. |
Closes #55.
This doesn't add support in the following APIs:
From
from_elem
Default
from_buf
from_buf_and_len
from_buf_and_len_unchecked
from_vec
from_raw_parts
splice
from_slice_copy
FromIterator
new,try_with_capacityandwith_capacitynow have_incounterparts, to match the standard library.PartialEqdoes not support comparing twoSmallVecs with different allocators (this is different from stdVec). This shouldn't matter too much, since you can just compare them as slices instead.You also can't
appendtwoSmallVecs with different allocators, this matches stdVec.