portable-dlmalloc 0.1.0

Portable Fork of Doug Lea's malloc Implementation.
1
2
3
4
5
6
7
8
9
10
11
12
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")
	.compile("dlmalloc");
	println!("cargo::rerun-if-changed=./malloc.c");
}