Also make sure that Method::Generate::Accessor really thinks it can do
XS.
Moo
Mouse
Mousse
+ Class::XSAccessor
/) {
eval "require $_" or push @missing, $_;
}
}
if ($opts->{bench} =~ /all|xs/) {
+ if (! $Method::Generate::Accessor::CAN_HAZ_XS)
{
- local $Method::Generate::Accessor::CAN_HAZ_XS = 1;
- _add_moosey_has (moo_XS => 'Moo');
+ die "Requested XS benchmarks but XS isn't available in Method::Generate::Accessor";
}
+
+ _add_moosey_has (moo_XS => 'Moo');
_add_moosey_has (mouse_XS => 'Mouse')
}