Skip to content

Commit

Permalink
derive: use absolute path to fix use in no_std crate
Browse files Browse the repository at this point in the history
  • Loading branch information
stormshield-guillaumed committed Nov 16, 2022
1 parent 48c4bfd commit 6c8f947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fn expand_derive_arbitrary(input: syn::DeriveInput) -> Result<TokenStream> {

Ok(quote! {
const _: () = {
thread_local! {
std::thread_local! {
#[allow(non_upper_case_globals)]
static #recursive_count: std::cell::Cell<u32> = std::cell::Cell::new(0);
}
Expand Down

0 comments on commit 6c8f947

Please sign in to comment.