code: func ValidatePlatform(platform specs.Platform) error {
  	if runtime.GOOS == "windows" {
  		if !(platform.OS == runtime.GOOS || (LCOWSupported() && platform.OS == "linux")) {
  			return errors.Errorf("unsupported os %s", platform.OS)
  		}
  	}
  	return nil
  }
docs: // ValidatePlatform determines if a platform structure is valid.
  // TODO This is a temporary windows-only function, should be replaced by
  // comparison of worker capabilities