1
0
Fork 0
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:
Takashi Kokubun 2022-08-30 13:02:26 -07:00
parent 918a658556
commit 5dbc725f4d
Notes: git 2022-08-31 06:22:12 +09:00

View file

@ -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();