1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//! [![github]](https://github.com/dtolnay/target-triple) [![crates-io]](https://crates.io/crates/target-triple) [![docs-rs]](https://docs.rs/target-triple)
//!
//! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo=github
//! [crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=555555&logo=rust
//! [docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rs

#![doc(html_root_url = "https://docs.rs/target-triple/0.1.3")]

#[cfg(not(host_os = "windows"))]
include!(concat!(env!("OUT_DIR"), "/macros.rs"));

#[cfg(host_os = "windows")]
include!(concat!(env!("OUT_DIR"), "\\macros.rs"));

/// The target triple that is being compiled for.
pub const TARGET: &str = target!();

/// The host triple of the Rust compiler.
pub const HOST: &str = host!();