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. |
|
yeah probably just revert I have absolutely no idea what's happening with fuzzing. I haven't touched nor taken a look at it since I'm here, and I don't believe anyone here now has I can't understand the traceback neither I'll give it a look tomorrow why doesn't equality allow for different allocators though?? |
It's just |
|
as long as it's correct why not do it?? |
Signed-off-by: bolshoytoster <91278344+bolshoytoster@users.noreply.github.com>
|
did fuzzing solve itself or did I just miss something |
The problem was the change in grow. |
Signed-off-by: bolshoytoster <91278344+bolshoytoster@users.noreply.github.com>
|
I've taken a look at the diff, looks good I'll review it properly tomorrow. |
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.