Skip to content

Support environments where rustup is not installed #393

Closed

Description

@SDAChess

When running the cache action with Rust installed through a tool other than rustup, such as Nix, the action emits this warning:

Error running rustup toolchain list, falling back to default toolchain only: Error: The process ... failed with exit code 127

The action correctly detects the compiler through rustc, and caching continues successfully. However, the warning appears in every job using the action, creating noise in CI.

Would you consider skipping rustup discovery when rustup is unavailable, or providing an option to disable the probe?

I’d be happy to contribute an implementation.

Activity

  1. Swatinem commented on Oct 20, 2026

    @Swatinem
    Owner

    Silencing the error seems reasonable, as the actual caching works fine as you report.
    Contributions welcome, as long as the communication does not involve an AI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions