diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2022-06-14 15:54:16 -0400 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2022-06-16 10:18:46 -0400 |
| commit | 79eaaf2d0b641710613f16525e4b4c439dfe854e (patch) | |
| tree | e147246b1c5912287e6d61a53719eac5b7170a6c /include/ruby/internal/stdalign.h | |
| parent | 52d42e702375446746164a0251e1a10bce813b78 (diff) | |
Include runtime checks for compaction support
Commit 0c36ba53192c5a0d245c9b626e4346a32d7d144e changed GC compaction
methods to not be implemented when not supported. However, that commit
only does compile time checks (which currently only checks for WASM),
but there are additional compaction support checks during run time.
This commit changes it so that GC compaction methods aren't defined
during run time if the platform does not support GC compaction.
[Bug #18829]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6019
Diffstat (limited to 'include/ruby/internal/stdalign.h')
0 files changed, 0 insertions, 0 deletions
