mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Skip linking rb_yjit_icache_invalidate on cargo test
Co-authored-by: Kevin Newton <kddnewton@gmail.com>
This commit is contained in:
parent
918a658556
commit
5dbc725f4d
Notes:
git
2022-08-31 06:22:12 +09:00
1 changed files with 1 additions and 0 deletions
|
@ -963,6 +963,7 @@ impl Assembler
|
|||
|
||||
// Invalidate icache for newly written out region so we don't run
|
||||
// stale code.
|
||||
#[cfg(not(test))]
|
||||
{
|
||||
let start = cb.get_ptr(start_write_pos).raw_ptr();
|
||||
let write_ptr = cb.get_write_ptr().raw_ptr();
|
||||
|
|
Loading…
Reference in a new issue