Add guard to compaction test in WeakMap Some platforms don't support compaction, so we should skip this test. --- test/ruby/test_weakmap.rb | 2 ++ 1 file changed, 2 insertions(+)
Related issues
Bug #19529: [BUG] ObjectSpace::WeakMap can segfault after compaction
merge revision(s) bffadcd6d46ccfccade79ce0efb60ced8eac4483: [Backport #19529]