mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-10 05:53:10 +00:00
![Noratrieb](/assets/img/avatar_default.png)
People often parse `-vV` output to get to the host triple, which is annoying to do. It's easier to just get it directly.
6 lines
101 B
Rust
6 lines
101 B
Rust
//@ only-x86_64-unknown-linux-gnu
|
|
//@ compile-flags: --print host-tuple
|
|
//@ check-pass
|
|
|
|
fn main() {}
|