The CI tests (and probably also regular operation) currently depend on files (eg. cdefs.h) from the system path; those are only depended on in the Cargo builds but not for plain RIOT builds, indicating that libclang and gcc disagree about the default paths for that platform.
It should be ensured that both builds actually use the same files, and the respective workaround removed from the CI scripts.
This may be related to https://gitlab.com/etonomy/riot-sys/issues/1, as that could be traced back to include path issues.
The CI tests (and probably also regular operation) currently depend on files (eg. cdefs.h) from the system path; those are only depended on in the Cargo builds but not for plain RIOT builds, indicating that libclang and gcc disagree about the default paths for that platform.
It should be ensured that both builds actually use the same files, and the respective workaround removed from the CI scripts.
This may be related to https://gitlab.com/etonomy/riot-sys/issues/1, as that could be traced back to include path issues.