replace ref_thread_local::ref_thread_local! with std::thread_local!
removes `ref_thread_local` which was still at 0.0.0 released October 2018 while latest 0.1.1 was released mid November 2021 fixes libraries.rs UB
This commit is contained in:
@@ -82,8 +82,8 @@ use indexmap::IndexMap;\
|
||||
writeln!(
|
||||
libraries,
|
||||
"\
|
||||
ref_thread_local::ref_thread_local! {{
|
||||
pub(crate) static managed LIBRARIES: IndexMap<&'static str, &'static str> = {{
|
||||
std::thread_local!{{
|
||||
static LIBRARIES: IndexMap<&'static str, &'static str> = {{
|
||||
let mut m = IndexMap::new();"
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
Reference in New Issue
Block a user