mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
ZJIT: Only build the assembler for target_arch
Fixes test error from running the ARM assembler on x86, but then trying to disassemble it as x86.
This commit is contained in:
parent
dd352461da
commit
214d587a77
1 changed files with 2 additions and 0 deletions
|
@ -7,7 +7,9 @@ use crate::virtualmem::*;
|
|||
|
||||
// Lots of manual vertical alignment in there that rustfmt doesn't handle well.
|
||||
#[rustfmt::skip]
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
pub mod x86_64;
|
||||
#[cfg(target_arch = "aarch64")]
|
||||
pub mod arm64;
|
||||
|
||||
/// Index to a label created by cb.new_label()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue