Skip to content

Commit aca5df3

Browse files
authored
add links directive to libmimalloc-sys crate
ensures at most one copy of mimalloc is linked, see https://doc.rust-lang.org/cargo/reference/manifest.html#the-links-field
1 parent de2fd5d commit aca5df3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libmimalloc-sys/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ keywords = ["allocator", "encrypted-heap", "performance"]
88
categories = ["allocator"]
99
description = "Sys crate wrapping the mimalloc allocator"
1010
license = "MIT"
11+
links = "mimalloc"
1112

1213
[dependencies]
1314

0 commit comments

Comments
 (0)