Wild boars are large and mean animals. I have taken down a bunch of them with a .223 at distance. Never been in close contact with one of them. But, I do carry a .45 long colt as a just in case.
Their toughness is somewhat overrated. In the 80s, I took three by stabbing them with a knife. I will admit that the guide I was with had a pack of dogs that stopped the pig and kept him distracted while I went in with the knife. I have also shot them and even a .30-30 is good enough.
Mine was somewhere around 100lbs . Big for here. It just did not want to stay down.I had to leave it where it was. When I came back that way a few weeks later there was only a greasy spot on the ground . Its mates are it, even the bones . Don’t become disabled in hog infested woods...