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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user