Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,44 @@ extern crate std;

pub use platform::*;

#[cfg(target_pointer_width = "64")]
#[path="macros/64.rs"]
pub mod macros;

#[cfg(all(target_pointer_width = "32",
target_endian = "big",
any(target_arch = "arm",
target_arch = "mips",
target_arch = "powerpc",
target_arch = "xtensa")))]
#[path="macros/32be-align.rs"]
pub mod macros;

#[cfg(all(target_pointer_width = "32",
target_endian = "big",
not(any(target_arch = "arm",
target_arch = "mips",
target_arch = "powerpc",
target_arch = "xtensa"))))]
#[path="macros/32be.rs"]
pub mod macros;

#[cfg(all(target_pointer_width = "32",
target_endian = "little",
any(target_arch = "arm",
target_arch = "mips",
target_arch = "powerpc",
target_arch = "xtensa")))]
#[path="macros/32le-align.rs"]
pub mod macros;

#[cfg(all(target_pointer_width = "32",
target_endian = "little",
not(any(target_arch = "arm",
target_arch = "mips",
target_arch = "powerpc",
target_arch = "xtensa"))))]
#[path="macros/32le.rs"]
pub mod macros;

#[cfg(all(target_os = "linux",
Expand Down
56 changes: 0 additions & 56 deletions src/macros.rs

This file was deleted.

Loading