def METHOD_NAME(rc_path, out_path):
    """Raises subprocess.CalledProcessError"""
    def is_64bit():
        return struct.calcsize("P") == 8
    subprocess.check_call(
        ["windres", "-O", "coff", "-F",
         "pe-x86-64" if is_64bit() else "pe-i386", rc_path,
         "-o", out_path])