refactor(treewide): get rid of compile time build environment introspection
It's cursed and not very useful. Still a few uses of ctor left, but oh well.
This commit is contained in:
parent
ebc8df1c4d
commit
cb79a3b9d7
29 changed files with 8 additions and 366 deletions
|
|
@ -47,7 +47,7 @@ type Key = ArrayVec<usize, KEY_SEGS>;
|
|||
const NAME_MAX: usize = 128;
|
||||
const KEY_SEGS: usize = 8;
|
||||
|
||||
#[crate::ctor]
|
||||
#[ctor::ctor]
|
||||
fn _static_initialization() {
|
||||
acq_epoch().expect("pre-initialization of jemalloc failed");
|
||||
acq_epoch().expect("pre-initialization of jemalloc failed");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue