A helper determining whether the pooling allocator tests should be skipped.
()
| 93 | |
| 94 | /// A helper determining whether the pooling allocator tests should be skipped. |
| 95 | pub(crate) fn skip_pooling_allocator_tests() -> bool { |
| 96 | // There are a couple of issues when running the pooling allocator tests under QEMU: |
| 97 | // - high memory usage that may exceed the limits imposed by the environment (e.g. CI) |
| 98 | // - https://github.com/bytecodealliance/wasmtime/pull/2518#issuecomment-747280133 |
| 99 | no_hog_memory() |
| 100 | } |
| 101 | |
| 102 | /// Whether tests that hog memory should be skipped. |
| 103 | pub(crate) fn no_hog_memory() -> bool { |