$ cargo build
-
- Disable system-wide restartable-sequence
$ export GLIBC_TUNABLES=glibc.pthread.rseq=0
-
- Use unialloc as GlobalAllocator
use unialloc::UniAlloc;
#[global_allocator]
static OURSELF: UniAlloc = UniAlloc;
// more examples in unialloc/examples
-
- Unit tests
$ cargo test
-
- benchmarking
$ cargo bench --bench std_bench