The prob here is that meson+cargo in this way does not let to list just the necessary symbols which should be exported, so random unrelated symbols gets exported. The fix is to fix the build system - rewriting it in either meson or cargo. To fix the symptom - extra symbols appearing - it looks like we can use _.* as a regex. But this is not a solution in any way, because these extra exports should not be there in the first place and may clash with some other exports, which would be much more severe issue (and difficult to debug, too).
/mjt

