I had a similar flat once in college. A drywall screw went through the tire, through the tube, and stuck in the rim. I still use the rim - the hole is pretty smooth, and I put a small piece of rim tape over it so the tube won't squeeze into the hole.
As I recall, I patched the tube, put it back in, and rode on the tire for months afterwards. I guess it was before I'd heard of tire boots.

Kind of scary to think about now.