Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Commit 13617ed

Browse files
NikVolfSimonSapin
authored andcommitted
remove je_
1 parent 7913872 commit 13617ed

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ repository = "https://github.com/servo/heapsize"
88

99
[features]
1010
unstable = []
11+
nightly = []

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ use std::rc::Rc;
2020

2121
#[cfg(not(target_os = "windows"))]
2222
extern {
23+
#![cfg_attr(feature = "nightly", link(name = "malloc_usable_size"))]
2324
// Get the size of a heap block.
2425
//
2526
// Ideally Rust would expose a function like this in std::rt::heap, which would avoid the

0 commit comments

Comments
 (0)