Repair options for stripped stud hole on hub

Put the hub into a rim and tighten the lugs .Then put a spot weld on the back of the hub to the loose stud .It's never going anywhere once the wheel is tightened to the hub