[PATCH 6.16 488/570] rust: workaround `rustdoc` target modifiers bug