Skip to content

Bump ctve's autocfg from 1.4.0 -> 1.5.0 to pick up determinism fix.#3669

Merged
UebelAndre merged 3 commits intobazelbuild:mainfrom
top-oai:patch2
Oct 16, 2025
Merged

Bump ctve's autocfg from 1.4.0 -> 1.5.0 to pick up determinism fix.#3669
UebelAndre merged 3 commits intobazelbuild:mainfrom
top-oai:patch2

Conversation

@top-oai
Copy link
Copy Markdown
Contributor

@top-oai top-oai commented Oct 15, 2025

I was doing some action determinism analysis and found that rules_rust's ctve's autocfg (version 1.4.0) showed up in a lot of sha differences.... looks like it leaves behind files with random filenames. This was fixed upstream in cuviper/autocfg#75, which is included in autocfg 1.5.0.

Posted about this in slack at https://bazelbuild.slack.com/archives/CSV56UT0F/p1760515874096159.

Copy link
Copy Markdown
Collaborator

@UebelAndre UebelAndre left a comment

Choose a reason for hiding this comment

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

Instead if adding this dependency can you just run

bazel run //cargo/cargo_toml_variable_extractor/3rdparty:crates_vendor -- --repin=autocfg

and commit the results?

@top-oai
Copy link
Copy Markdown
Contributor Author

top-oai commented Oct 16, 2025

Instead if adding this dependency can you just run

bazel run //cargo/cargo_toml_variable_extractor/3rdparty:crates_vendor -- --repin=autocfg

and commit the results?

Yeah I can, it works, thanks!

A bit of noise with the addition of @rules_rust//rust/platform:riscv64gc-unknown-linux-gnu.

Copy link
Copy Markdown
Collaborator

@UebelAndre UebelAndre left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

@UebelAndre UebelAndre added this pull request to the merge queue Oct 16, 2025
Merged via the queue into bazelbuild:main with commit d492b33 Oct 16, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants