Skip to content

Rust: add test setup script #19255

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 9, 2025
Merged

Rust: add test setup script #19255

merged 1 commit into from
Apr 9, 2025

Conversation

redsun82
Copy link
Contributor

@redsun82 redsun82 commented Apr 8, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings April 8, 2025 15:28
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • rust/ql/test/setup.sh: Language not supported

@github-actions github-actions bot added the Rust Pull requests that update Rust code label Apr 8, 2025
@redsun82 redsun82 force-pushed the redsun82/rust-setup branch from 22a3da0 to 25bd0c3 Compare April 8, 2025 15:29
@redsun82 redsun82 merged commit 8d467c7 into main Apr 9, 2025
13 checks passed
@redsun82 redsun82 deleted the redsun82/rust-setup branch April 9, 2025 06:52
Comment on lines +12 to +17
rustup install
rustup component add rust-src

find . -name rust-toolchain.toml \
-execdir rustup install \; \
-execdir rustup component add rust-src \;
Copy link
Contributor

Choose a reason for hiding this comment

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

@redsun82 Perhaps this is better to ensure the version of the rust-toolchain.toml file in the toplevel folder is always installed last.

Suggested change
rustup install
rustup component add rust-src
find . -name rust-toolchain.toml \
-execdir rustup install \; \
-execdir rustup component add rust-src \;
find . -name rust-toolchain.toml \
-execdir rustup install \; \
-execdir rustup component add rust-src \;
rustup install
rustup component add rust-src

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants