Skip to content

Conversation

Kubaryt
Copy link

@Kubaryt Kubaryt commented Aug 27, 2025

Resolves: #47

Copy link
Member

@jonasbb jonasbb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rust-cache action also needs to be configured if the Rust source is not in the root of the repository: Swatinem/rust-cache#153 or Swatinem/rust-cache#223.

As I understand it the workspaces value needs to be configured. Potentially you can just set it to the same value as rust_toolchain_dir.

If the cache-workspaces input is not set then it should autoconfigure based on rust_toolchain_dir. If cache-workspaces is explicitly provided, it must always take precedence.

Since the configuration now is for the Rust sources directory, not just the toolchain path, a better name might be something like "rust-src-dir" or "rust-base-dir".

@Kubaryt Kubaryt requested a review from jonasbb August 28, 2025 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add option to specify rust-toolchain.toml path
2 participants