Skip to content

Commit

Permalink
include jeamllocator
Browse files Browse the repository at this point in the history
  • Loading branch information
rudib committed Dec 19, 2021
1 parent bca093a commit c6bb3ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions finny_nostd_tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ publish = false
libc = { version = "0.2", default-features = false }
finny = { path = "../finny/", default-features = false }
heapless = "0.5.6"
jemallocator = "0.3.0"

[profile.dev]
panic = "abort" # disable stack unwinding on panic
Expand Down
5 changes: 5 additions & 0 deletions finny_nostd_tests/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#![no_std]
#![no_main]

extern crate jemallocator;

#[global_allocator]
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;

use finny::{finny_fsm, FsmFactory, FsmEventQueueArray, inspect::null::InspectNull, FsmTimersNull};
use finny::decl::{FsmBuilder, BuiltFsm};
use heapless::consts::*;
Expand Down

0 comments on commit c6bb3ed

Please sign in to comment.