Yeah, I was thinking more of architecture errors where the solution is “modify the compiler so that code isn’t called” - though some may allow microcode updates.
The various spec-ex workarounds actually matter more on things like cloud servers than they do on dedicated/controlled hardware.