Skip to main content

target_tuple/
lib.rs

1//! [![github]](https://github.com/dtolnay/target-tuple) [![crates-io]](https://crates.io/crates/target-tuple) [![docs-rs]](https://docs.rs/target-tuple)
2//!
3//! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo=github
4//! [crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=555555&logo=rust
5//! [docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rs
6
7#![no_std]
8#![doc(html_root_url = "https://docs.rs/target-tuple/1.0.2")]
9
10#[cfg(not(host_os = "windows"))]
11include!(concat!(env!("OUT_DIR"), "/macros.rs"));
12
13#[cfg(host_os = "windows")]
14include!(concat!(env!("OUT_DIR"), "\\macros.rs"));
15
16/// The target tuple that is being compiled for.
17pub const TARGET: &str = "x86_64-unknown-linux-gnu"target!();
18
19/// The host tuple of the Rust compiler.
20pub const HOST: &str = "x86_64-unknown-linux-gnu"host!();