mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-01 19:58:15 +00:00
Fix: allow flexbuffers alloc check test (#8972)
* Fix: allow flexbuffers alloc check test * fix: flaky CI failure * fix: set flexbuffers alloc check false
This commit is contained in:
@@ -294,6 +294,9 @@ impl<'fbb, A: Allocator> FlatBufferBuilder<'fbb, A> {
|
||||
|
||||
min_align: 0,
|
||||
force_defaults: false,
|
||||
#[cfg(feature = "std")]
|
||||
strings_pool: HashMap::with_capacity(strings_pool_capacity),
|
||||
#[cfg(not(feature = "std"))]
|
||||
strings_pool: Vec::with_capacity(strings_pool_capacity),
|
||||
|
||||
_phantom: PhantomData,
|
||||
|
||||
Reference in New Issue
Block a user