Rocky planets form around sunlike stars