1 // See rsbegin.rs for details.
4 #![feature(lang_items)]
5 #![cfg_attr(bootstrap, feature(optin_builtin_traits))]
6 #![cfg_attr(not(bootstrap), feature(auto_traits))]
7 #![crate_type = "rlib"]
20 #[lang = "drop_in_place"]
22 #[allow(unconditional_recursion)]
23 pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) {
24 drop_in_place(to_drop);
27 #[cfg(all(target_os = "windows", target_arch = "x86", target_env = "gnu"))]
29 // Terminate the frame unwind info section with a 0 as a sentinel;
30 // this would be the 'length' field in a real FDE.
32 #[link_section = ".eh_frame"]
33 pub static __EH_FRAME_END__: u32 = 0;