Skip to content

Commit

Permalink
Make the compiler_builtins dependency explicitly a wildcard one
Browse files Browse the repository at this point in the history
As of cargo 1.79.0, our fake_root Cargo.toml is no longer valid due to
the change in rust-lang/cargo#13775 which
disallows a dependency without a version (or path, or something).

Previously, these were implicitly a "wildcard registry dependency" but
no longer. So do this explicitly to set the feature on the dependency
without any version requirement. The version will be specified by std.

[email protected]

Bug: 339172099
Change-Id: Ifbb78ced06d520755b683f49a6daca2cd0bcd333
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5525961
Commit-Queue: danakj <[email protected]>
Reviewed-by: Arthur Eubanks <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1298307}
NOKEYCHECK=True
GitOrigin-RevId: b71d1630b5f82988db7c26c0675648aa1a4563fd
  • Loading branch information
danakj authored and copybara-github committed May 8, 2024
1 parent 4993776 commit 900b5a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/std/fake_root/Cargo.toml.template
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ features = [
]

[dependencies.compiler_builtins]
version = "*"
features = ["weak-intrinsics"]

[patch.crates-io]
Expand Down

0 comments on commit 900b5a4

Please sign in to comment.