File: host.rs

package info (click to toggle)
rust-target-lexicon 0.12.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 228 kB
  • sloc: sh: 5; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 208 bytes parent folder | download | duplicates (26)
1
2
3
4
5
6
7
8
9
10
11
12
extern crate target_lexicon;

use target_lexicon::HOST;

fn main() {
    println!(
        "{}",
        HOST.pointer_width()
            .expect("architecture should be known")
            .bytes()
    );
}