We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80a0a12 commit f936bc6Copy full SHA for f936bc6
tests/run-pass/thread-local.rs
@@ -58,7 +58,7 @@ fn main() {
58
// Initialize the keys we use to check destructor ordering
59
for (key, global) in KEYS.iter_mut().zip(GLOBALS.iter_mut()) {
60
*key = create(Some(mem::transmute(dtor as unsafe extern fn(*mut u64))));
61
- set(*key, global as *const _ as *mut _);
+ set(*key, global as *mut _ as *mut u8);
62
}
63
64
// Initialize cannary
0 commit comments