x64: make the x64 module public

In order to benchmark portions of the x64 module, this change makes it a
public module of cranelift-codegen.
This commit is contained in:
Andrew Brown
2021-05-10 10:55:35 -07:00
parent 02796fc670
commit c89e6b2353

View File

@@ -81,8 +81,10 @@ mod riscv;
#[cfg(feature = "x86")] #[cfg(feature = "x86")]
mod x86; mod x86;
// This module is made public here for benchmarking purposes. No guarantees are
// made regarding API stability.
#[cfg(feature = "x86")] #[cfg(feature = "x86")]
mod x64; pub mod x64;
#[cfg(feature = "arm32")] #[cfg(feature = "arm32")]
mod arm32; mod arm32;