Republican presidential candidate Ted Cruz speaks during a campaign stop in Millcreek Township, Erie County, Pa., on Wednesday, April 13, 2016. (Christopher Millette/Erie Times-News via AP)

Ted Cruz said Wednesday night that he has started looking at possible vice presidential running mates, and that it would be a mistake not to consider former rival Marco Rubio for that slot.

Speaking at a CNN televised town hall, Cruz heaped praise on Rubio, saying the Florida senator's campaign "inspired" him and that he considers Rubio "a friend."

"Anyone would naturally look at Marco as one of the people who would be a terrific person to consider for VP and we're in the process now of considering a number of different options," Cruz told Anderson Cooper.

He added: "He would be someone that you would be a fool not to look at seriously."

Cruz and Rubio clashed sharply for months as bitter foes in the Republican primary. The Texas senator routinely assailed Rubio's position on immigration, including his past support for comprehensive reform and his continued belief in a pathway to citizenship for undocumented immigrants. Rubio accused Cruz of misrepresenting his own positions on immigration and national security.

The Florida senator ended his campaign after losing his home state on March 15.

Cruz said Wednesday that the back and forth was all part of the normal campaign process and he has harbored no ill will toward his Senate colleague. Cruz seemed to be going out of his way to laud Rubio, even sharing a personal story that he said reflected Rubio's strong sense of humor.

Rubio has yet to endorse Cruz and many of his supporters have yet to warm up to the Texas senator. Sen, Mike Lee (R-Utah), a Cruz backer, said last week he was trying to get Rubio to back the Texan.

In an interview with conservative host Mark Levin published Wednesday, Rubio praised Cruz.

"I've been pretty clear that I want the Republican nominee to be a conservative and in my view, at this moment, of the candidates that are still actively campaigning, the only one that fits that criteria is Ted Cruz."