Currently we have an ability to specify targets to ignore tests on some platforms in form of //ignore-<arch> comment appearing somewhere in the file.
These attributes, however, are hardly usable when a test is intended to target a single architecture, as you’d have to specify every architecture test is not targeting.
The idea is to implement an attribute // only-<target>, which essentially an equivalent to specifying // ignore-* for every target but the <target>.
The relevant location to change would be here.