ruby/spec/mspec/spec
Alan Wu 12e6cf77ef Add "c_long_size" guard, supplanting "wordsize" and stop using Integer#size
What a "word" is when talking about sizes is confusing because it's a
highly overloaded term. Intel, Microsoft, and GDB are just a few vendors
that have their own definition of what a "word" is. Specs that used the
"wordsize" guard actually were mostly testing for the size of the C
`long` fundamental type, so rename the guard for clarity.

Also, get the size of `long` directly from RbConfig instead of guessing
using Integer#size. Integer#size is not guaranteed to have anything to
do with the `long` type.
2024-07-24 18:20:30 +02:00
..
commands
expectations
fixtures
guards Add "c_long_size" guard, supplanting "wordsize" and stop using Integer#size 2024-07-24 18:20:30 +02:00
helpers
integration Update to ruby/mspec@36e8ed8 2024-02-26 14:45:28 +01:00
matchers
mocks Update to ruby/mspec@b8f8f4e 2024-03-14 21:44:52 +01:00
runner Update to ruby/mspec@3cf2d16 2023-06-26 15:55:09 +02:00
utils
spec_helper.rb Update to ruby/mspec@36e8ed8 2024-02-26 14:45:28 +01:00