You can sustain a Republican primary race for quite a while on the basis of ultra-conservatism and religion.
It would also require economic sanctions against nations that abuse their citizens on the basis of religion.
It does not discriminate on the basis of race or religion.