portable-dlmalloc 0.4.0

Portable Fork of Doug Lea's malloc Implementation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fn main()
{
	cc::Build::new()
	.file("./malloc.c")
	.define("PORTABLE",None)
	.define("USE_DL_PREFIX",None)
	.define("USE_LOCKS","2")
	.define("DEFAULT_GRANULARITY","0x200000")
	.define("NO_MALLOC_STATS","1")
	.define("MSPACES",None)
	.debug(true)
	.compile("dlmalloc");
	println!("cargo::rerun-if-changed=./malloc.c");
}