Skip to content

Conversation

@redsun82
Copy link
Contributor

Also updated some other modules that give off warnings otherwise.

This fixes the broken vendor check, because new rules_rust now does not go and look for all Cargo.toml, but only those reachable from the root workspace (which also makes for a leaner vendor target definition). This means the vendoring script won't look at the broken Cargo.toml file we have in the QL tests any more.

Copilot AI review requested due to automatic review settings October 23, 2025 08:52
@redsun82 redsun82 requested review from a team as code owners October 23, 2025 08:52
@redsun82 redsun82 added the depends on internal PR This PR should only be merged in sync with an internal Semmle PR label Oct 23, 2025
Copy link
Contributor

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.

Pull Request Overview

This PR upgrades rules_rust in the Bazel build system, along with updating several related modules to avoid warnings. The upgrade fixes a broken vendor check by changing how rules_rust discovers Cargo.toml files - the new version only searches for files reachable from the root workspace, avoiding problematic test files.

Key Changes:

  • Upgraded rules_rust to a newer version
  • Updated related modules to eliminate warnings
  • Fixed vendor check behavior through improved workspace file discovery

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@redsun82
Copy link
Contributor Author

CI failures are expected at this stage, an internal PR needs to merged first.

Copy link
Contributor

@esbena esbena left a comment

Choose a reason for hiding this comment

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

enlighten me: where does the now-unlisted Cargo.toml files get picked up now then?

@redsun82 redsun82 closed this Oct 23, 2025
@redsun82 redsun82 reopened this Oct 23, 2025
@redsun82 redsun82 merged commit d11b445 into main Oct 23, 2025
48 of 49 checks passed
@redsun82 redsun82 deleted the redsun82/fix-rust-vendor-check branch October 23, 2025 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

depends on internal PR This PR should only be merged in sync with an internal Semmle PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants