blob: f18a44d9b06edc0fc3e534b0a748f606480239bb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#![cfg(any(target_arch="x86", target_arch="x86_64"))]
#![no_std]
#![crate_name="cpu"]
#![crate_type="rlib"]
#![feature(asm)]
#![feature(associated_consts)]
#[macro_use]
extern crate bitflags;
pub use cpu::*;
#[cfg(target_arch="x86")]
#[path = "x86.rs"]
mod cpu;
#[cfg(target_arch="x86_64")]
#[path = "x86_64.rs"]
mod cpu;
pub mod std { pub use core::*; }
|