code: def is_host_target_supported(host_target, msvc_version):
      
      # We assume that any Visual Studio version supports x86 as a target
      if host_target[1] != "x86":
          maj, min = msvc_version_to_maj_min(msvc_version)
          if maj < 8:
              return False
  
      return True
docs: Return True if the given (host, target) tuple is supported given the
      msvc version.
  
      Parameters
      ----------
      host_target: tuple
          tuple of (canonalized) host-target, e.g. ("x86", "amd64") for cross
          compilation from 32 bits windows to 64 bits.
      msvc_version: str
          msvc version (major.minor, e.g. 10.0)
  
      Note
      ----
      This only check whether a given version *may* support the given (host,
      target), not that the toolchain is actually present on the machine.