You pre-stress the rail to a certain temperature range- https://permaquip.co.uk/news/2025/04/10/permaquips-quick-guide-to-rail-stressing-and-the-hsm70-stressor/
So in a hotter (or colder) climate the rail will be pre-stressed differently. But, also rather than using continuously welded rail (huge long stretches of rail) in the old days you had much shorter stretches of track, so it would be a much shorter piece of track that would expand, and each joint between rails could basically be an expansion joint. If you hear the old "clackety clack" as you are on a train that is you going over each joint, something you don't get with CWR.
So rails in Norway or Finland with extreme winter cold will be stressed differently.
When the transatlantic railroads of the US were built a lot of the steel was actually imported from the UK. An utterly irrelevant fact is that the fastest ever sea passage from the UK to Seattle (pre Panama Canal days) is claimed to have been a shipment of rails from Workington (the town next to me- until the 3rd quarter of the 20th century a huge exporter of rails around the world)- which is said to have been used on the current (post 1981) Empire Builder route to Seattle in WA over Stevens.
It may be that the US freight railroads have much less CWR.
It is a similar story for the overhead wires on electrified lines- they are constructed differently depending where in the world you are, which is why the OHLE in the UK can't stand the extremes of hot and cold temperatures, or high winds it does in other countries. Even if the rails withstand the heat the collapse of the overhead wires is a big risk this week. Some lines will be running at reduced speed to forestall it, putting less pressure on the wires.
This is all quite technical, beyond my knowledge base really.