In //decls:common.bzl, _target_os_type_arg returns //os_lookup/targets:os_lookup, which puts "linux" as the platform when not specifically Windows or macOS. The rule also accepts "freebsd" and "unknown". It looks like the cpu bit is incomplete as well, accepting arm, armv7, arm64, x86, x86_64, and mips but only having branches for arm64 and x86_64.
None technically isn't a value for TargetCpuType but is used as a branch here. Could the same be used for config//os:none?