Designing a device that can confine a 100 million degree plasma is no easy task. In the case of magnetically confined fusion, this means designing a superconducting magnet powerful enough to lift an aircraft carrier. This talk discusses how we use Rust to optimise and design superconducting magnets that will operate under the extreme conditions required for fusion power.