Sadly, the mini black holes fired by your railgun would go through your targets like they weren’t even there. They’re too small, unless they’re small asteroid massed or bigger.
That would be a really heavy gun to tote around.
You’re just not going to get much damage from a proton massed singularity that could probably…