Designing explosive warheads for it has never been the emphasis.Word on the street is that the railgun engineers are having a very tough time designing a projectile which can contain explosives and survive the firing process.
At the moment it is "line of sight only", solid projectiles.
It is using its high speed and the associated forces to destroy the target.
Designing sensors to survive firing is something that can...and I predict right now...will be done.
That's different than designing an explosive warhead.
Having said that, I find it difficult to believe that they would have such difficulty because the old 16" guns had a heck of a muzzle velocity...and they achieved that by setting off a massive explosive charge behind the warhead that itself was filled with HE. And they did just fine.
There is no "explosion" that powers the rail gun projectile.