mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 09:51:12 +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:
parent
fc9909c30a
commit
10c994155c
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue