]> git.lizzy.rs Git - rust.git/blob - src/rtstartup/rsend.rs
Rollup merge of #34339 - jseyfried:thin_vec, r=petrochenkov,Manishearth
[rust.git] / src / rtstartup / rsend.rs
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.
4 //
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.
10
11 // See rsbegin.rs for details.
12
13 #![crate_type="rlib"]
14 #![no_std]
15
16 #[cfg(all(target_os="windows", target_arch = "x86", target_env="gnu"))]
17 pub mod eh_frames {
18     // Terminate the frame unwind info section with a 0 as a sentinel;
19     // this would be the 'length' field in a real FDE.
20     #[no_mangle]
21     #[link_section = ".eh_frame"]
22     pub static __EH_FRAME_END__: u32 = 0;
23 }