Patch picked from https://github.com/crust-firmware/crust/pull/209 [ci:skip-build]: Already built successfully in CI