bigmem/stack.t: skip if we're not using SSize_t mark

This commit is contained in:
Tony Cook 2023-10-05 15:54:20 +11:00
parent a1ab4f2eff
commit a1556fc719
2 changed files with 11 additions and 0 deletions

View File

@ -3332,6 +3332,15 @@ xs_items(...)
OUTPUT:
RETVAL
void
wide_marks(...)
PPCODE:
#ifdef PERL_STACK_OFFSET_SSIZET
XSRETURN_YES;
#else
XSRETURN_NO;
#endif
void
bhk_record(bool on)
CODE:

View File

@ -14,6 +14,8 @@ $ENV{PERL_TEST_MEMORY} >= 60
or skip_all("Need ~60GB for this test");
$Config{ptrsize} >= 8
or skip_all("Need 64-bit pointers for this test");
XS::APItest::wide_marks()
or skip_all("Not configured for SSize_t marks");
my @x;
$x[0x8000_0000] = "Hello";