Hello, we're having some issues with a remote cach...
# plugins
c
Hello, we're having some issues with a remote cache and one of our plugins. Does the following code raise any red-flags in terms of remote-cache support?
Copy code
build_dir_removed = await Get(
        Digest, RemovePrefix(result.output_digest, "target/release")
    )
    digest_entries = await Get(DigestEntries, Digest, build_dir_removed)
    so_digest = None
    for entry in digest_entries:
        if isinstance(entry, FileEntry) and ".so" in entry.path:
            <http://logger.info|logger.info>("Found rust digest entry: %s", entry.path)
            new_entry = FileEntry(
                path=entry.path.lstrip("lib"),
                file_digest=entry.file_digest,
                is_executable=entry.is_executable,
            )
            so_digest = await Get(Digest, CreateDigest([new_entry]))
            break
    if not so_digest:
        raise ValueError("Unable to compile rust .so target. No ouput??")