I opened a corresponding issue #12178 which has the 0.10.0 milestone, so this must be fixed before we release.
std.Target.current
@import("builtin").target