mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-19 00:34:23 +00:00
14 lines
182 B
Rust
14 lines
182 B
Rust
pub static mut DROPPED: bool = false;
|
|
|
|
pub struct S {
|
|
_unsized: [u8]
|
|
}
|
|
|
|
impl Drop for S {
|
|
fn drop(&mut self) {
|
|
unsafe {
|
|
DROPPED = true;
|
|
}
|
|
}
|
|
}
|