Perhaps it is possible for `-Ctarget-cpu` to replace the need for the custom target specs. See discussion in https://github.com/rust-lang/rust/pull/131171, opening this issue to track it instead. Part of https://github.com/Rahix/avr-hal/issues/471.