Toasting was the cooking of the outside layer of a food so that it turned brown.
Bread could be toasted with a toaster, after which it was called toast.
Marshmallows could also be toasted over a fire. (Star Trek V: The Final Frontier, LD: "Cupid's Errant Arrow")