Hall ran the 43-mile Grand Traverse Mountain Run in Colorado in 12 hours, 47 minutes.
The championships were due to take place in Dublin, Ireland in December.
"For the last five years World Athletics (formerly IAAF) has fought for and defended equal rights and opportunities for all women and girls in our sport today and in the future. We therefore welcome today’s decision by the Swiss Federal Tribunal (SFT) to uphold our DSD Regulations as a legitimate and proportionate means of protecting the right of all female athletes to participate in our sport on fair and meaningful terms."
Semenya said: “I am very disappointed by this ruling, but refuse to let World Athletics drug me or stop me from being who I am. Excluding female athletes or endangering our health solely because of our natural abilities puts World Athletics on the wrong side of history. I will continue to fight for the human rights of female athletes, both on the track and off the track, until we can all run free the way we were born. I know what is right and will do all I can to protect basic human rights, for young girls everywhere.”
Johannes Vetter won the javelin with 86.17m.