1 // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
11 // See rsbegin.rs for details.
13 #![feature(no_core, lang_items, optin_builtin_traits)]
27 #[lang = "drop_in_place"]
29 #[allow(unconditional_recursion)]
30 pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) {
31 drop_in_place(to_drop);
34 #[cfg(all(target_os="windows", target_arch = "x86", target_env="gnu"))]
36 // Terminate the frame unwind info section with a 0 as a sentinel;
37 // this would be the 'length' field in a real FDE.
39 #[link_section = ".eh_frame"]
40 pub static __EH_FRAME_END__: u32 = 0;