Scientists are developing new wheat varieties that can survive climate change as rising temperatures and changing rainfall threaten global harvests.