def stdlib(toolchain):
    """
    Extract standard library file list and file path from toolchain
    """

    stdlib = toolchain.ocaml_stdlib.files.to_list()
    stdlib_path = stdlib[0].dirname
    return (stdlib, stdlib_path)