It's not a specific rule for pigs. There's more otherwise-edible food that Jews and Muslims can't eat than they can. They can't eat elephants either.
But they can eat giraffes. If they can figure out where on the neck to perform the shechitah. And reach it. And generally restrain the animal, which is pretty big.
__________________
| (• ◡•)| (❍ᴥ❍ʋ)
|