diff options
author | Alan Wu <alanwu@ruby-lang.org> | 2023-04-11 19:35:30 -0400 |
---|---|---|
committer | Alan Wu <alanwu@ruby-lang.org> | 2023-04-11 19:35:30 -0400 |
commit | c767e6f0c272a83a046c05dffc01409ae8f16e11 (patch) | |
tree | 8ad8ee8d4372717df7a62e51f27db4f64b1d5e01 /yjit/src | |
parent | 1432b3768aad4cfd95d584077f76c617dcc62978 (diff) | |
download | ruby-c767e6f0c272a83a046c05dffc01409ae8f16e11.tar.gz |
YJIT: Fix build on A64
Typo fix for the last commit (1432b37)
Diffstat (limited to 'yjit/src')
-rw-r--r-- | yjit/src/asm/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/src/asm/mod.rs b/yjit/src/asm/mod.rs index d2d6a53889..3c6c6e8e80 100644 --- a/yjit/src/asm/mod.rs +++ b/yjit/src/asm/mod.rs @@ -240,7 +240,7 @@ impl CodeBlock { } /// Size of the region in bytes where writes could be attempted. - #[cfg(target = "aarch64")] + #[cfg(target_arch = "aarch64")] pub fn virtual_region_size(&self) -> usize { self.mem_block.borrow().virtual_region_size() } |