Benign cargo Download

detection.rs

SHA-2569d25d896889e65330858f2d6f6223c1b98cd1dad189813ad4161ff189fbda2b8
Malecule∅

Evidence

imports std::panic::PanicInfo lines 1–8
1use std::panic::{self, PanicInfo};
2use std::sync::atomic::*;
3use std::sync::Once;
4
5static WORKS: AtomicUsize = AtomicUsize::new(0);
6static INIT: Once = Once::new();
7
8pub(crate) …
English function-word token "the" lines 27–29
27:75… ,
28// then use catch_unwind to determine whether the compiler's proc_macro is
29// working. When proc-macro2 is used from outside of a procedural macr …
English function-word token "with" lines 31–37
31//
32// The Once is to prevent the possibility of this ordering:
33//
34// thread 1 calls take_hook, gets the user's original hook
35// thread 1 calls set_hook with the null hook
36// thread 2 calls take_hook, thinks null hook is the original hook
37// thr …
English function-word token "and" lines 43–49
43:58… ferent thread can
44// happen during the interval that the user's original panic hook is
45// unregistered such that their hook is incorrectly not called. This is
46// sufficiently unlikely and less bad than printing panic messages to stderr
47// on correct use of this crate. Maybe there is a libstd feature request
48// here. For now, if a user needs to guarantee that this failure mode does
49// not occur, they need to call e …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.