TruffleRuby set host_cpu
to aarch64
on arm64-darwin
causing REUSE_AS_BINARY_ON_TRUFFLERUBY
to not work as expected
#3571
Milestone
MRI:
JRuby:
TruffleRuby:
Because MRI normalized
aarch64
toarm64
ondarwin
, prebuilt native gems are shipped asarm64-darwin
. This causes a platform mismatch when a gem is part ofREUSE_AS_BINARY_ON_TRUFFLERUBY
.Historically, the gem platform normalization convention is messy. E.g.
aarch64-linux
,aarch64-mingw-ucrt
, butarm64-darwin
...x86_64-linux
,x86_64-darwin
, butx64-mingw-ucrt
...However, gem authors have been publish gems with these as a naming convention for the known platforms, it's probably better for truffleruby to normalize its
host_cpu
toarm64
ondarwin
.The text was updated successfully, but these errors were encountered: