From c89e6b2353b127ca0beac7c252a1de88647227ad Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Mon, 10 May 2021 10:55:35 -0700 Subject: [PATCH] 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. --- cranelift/codegen/src/isa/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cranelift/codegen/src/isa/mod.rs b/cranelift/codegen/src/isa/mod.rs index f2252e2562..481c0c8de3 100644 --- a/cranelift/codegen/src/isa/mod.rs +++ b/cranelift/codegen/src/isa/mod.rs @@ -81,8 +81,10 @@ mod riscv; #[cfg(feature = "x86")] mod x86; +// This module is made public here for benchmarking purposes. No guarantees are +// made regarding API stability. #[cfg(feature = "x86")] -mod x64; +pub mod x64; #[cfg(feature = "arm32")] mod arm32;