mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-12 07:50:59 +00:00
rust: Allow for usage in no_std environment (#6989)
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#[cfg(feature = "no_std")]
|
||||
#[global_allocator]
|
||||
static ALLOCATOR: libc_alloc::LibcAlloc = libc_alloc::LibcAlloc;
|
||||
|
||||
#[macro_use]
|
||||
#[cfg(not(miri))] // slow.
|
||||
extern crate quickcheck;
|
||||
|
||||
Reference in New Issue
Block a user