2015-10-18 16:32:50 -05:00
|
|
|
// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
|
|
|
|
// file at the top-level directory of this distribution and at
|
|
|
|
// http://rust-lang.org/COPYRIGHT.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
|
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
|
|
// option. This file may not be copied, modified, or distributed
|
|
|
|
// except according to those terms.
|
|
|
|
|
2015-10-21 11:59:24 -05:00
|
|
|
// See rsbegin.rs for details.
|
|
|
|
|
2016-09-13 00:40:14 -05:00
|
|
|
#![feature(no_core, lang_items)]
|
2015-10-18 16:32:50 -05:00
|
|
|
#![crate_type="rlib"]
|
2016-09-13 00:40:14 -05:00
|
|
|
#![no_core]
|
|
|
|
|
|
|
|
#[lang = "sized"]
|
|
|
|
trait Sized {}
|
|
|
|
#[lang = "sync"]
|
|
|
|
trait Sync {}
|
|
|
|
impl<T> Sync for T {}
|
2015-10-18 16:32:50 -05:00
|
|
|
|
|
|
|
#[cfg(all(target_os="windows", target_arch = "x86", target_env="gnu"))]
|
2016-05-29 10:34:21 -05:00
|
|
|
pub mod eh_frames {
|
2015-10-18 16:32:50 -05:00
|
|
|
// Terminate the frame unwind info section with a 0 as a sentinel;
|
|
|
|
// this would be the 'length' field in a real FDE.
|
|
|
|
#[no_mangle]
|
|
|
|
#[link_section = ".eh_frame"]
|
|
|
|
pub static __EH_FRAME_END__: u32 = 0;
|
|
|
|
}
|