I have a strong recollection of reading a short story as a kid in the 1980's - 90's about a couple of guys (kids, maybe) that were stranded on an asteroid or moon after some disaster and needed to survive until rescued. The gimmick was that if caught on the "day" side of the asteroid, they would burn up. But because it was so small, they could actually run around it and thus stay ahead of the sunlight for awhile.
My sense is that it was in a magazine, as opposed to a collection of short stories or anything like that. Does anyone else remember this story (e.g. who wrote it, what magazine it was printed in)?