Skip to content

Commit

Permalink
Add rustversion dependency to bazel build
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 12, 2024
1 parent fd173e0 commit 77063f4
Show file tree
Hide file tree
Showing 5 changed files with 183 additions and 1 deletion.
3 changes: 3 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ rust_proc_macro(
name = "cxxbridge-macro",
srcs = glob(["macro/src/**/*.rs"]),
edition = "2021",
proc_macro_deps = [
"@crates.io//:rustversion",
],
deps = [
"@crates.io//:proc-macro2",
"@crates.io//:quote",
Expand Down
20 changes: 19 additions & 1 deletion MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions third-party/bazel/BUILD.bazel

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

141 changes: 141 additions & 0 deletions third-party/bazel/BUILD.rustversion-1.0.18.bazel

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions third-party/bazel/defs.bzl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 77063f4

Please sign in to comment.