]> git.proxmox.com Git - rustc.git/blame - src/libunwind/lib.rs
New upstream version 1.20.0+dfsg1
[rustc.git] / src / libunwind / lib.rs
CommitLineData
7453a54e
SL
1// Copyright 2016 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
a7813a04
XL
11#![no_std]
12#![crate_name = "unwind"]
13#![crate_type = "rlib"]
14#![unstable(feature = "panic_unwind", issue = "32837")]
32a655c1 15#![deny(warnings)]
7453a54e 16
a7813a04
XL
17#![feature(cfg_target_vendor)]
18#![feature(staged_api)]
19#![feature(unwind_attributes)]
cc61c64b 20#![feature(static_nobundle)]
7453a54e 21
a7813a04 22#![cfg_attr(not(target_env = "msvc"), feature(libc))]
7453a54e 23
a7813a04
XL
24#[cfg(not(target_env = "msvc"))]
25extern crate libc;
26
27#[cfg(not(target_env = "msvc"))]
28mod libunwind;
29#[cfg(not(target_env = "msvc"))]
30pub use libunwind::*;