Skip to content

Commit

Permalink
pw_toolchain: Adjust stable Rust toolchain to work with gen_rust_project
Browse files Browse the repository at this point in the history
Change-Id: Iacec85d15aed03905e31e6a32dc725517149e6b8
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/267014
Presubmit-Verified: CQ Bot Account <[email protected]>
Lint: Lint 🤖 <[email protected]>
Pigweed-Auto-Submit: Erik Gilling <[email protected]>
Commit-Queue: Auto-Submit <[email protected]>
Docs-Not-Needed: Erik Gilling <[email protected]>
Reviewed-by: Armando Montanez <[email protected]>
  • Loading branch information
konkers authored and CQ Bot Account committed Feb 11, 2025
1 parent 7892387 commit f5ee80b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel.lock

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

4 changes: 3 additions & 1 deletion pw_toolchain/rust/toolchains.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ CHANNELS = [
# to allow these features globally. These include:
# `error_generic_member_access`: `anyhow` auto detects this feature
# `proc_macro_span`: `proc-macro2` auto detects this features
# `rustc_attrs`: `rustix` (a gen_rust_project dep) auto detects this
# feature.
"extra_rustc_flags": [
"-Dwarnings",
"-Zallow-features=error_generic_member_access,proc_macro_span",
"-Zallow-features=error_generic_member_access,proc_macro_span,rustc_attrs",
],
"name": "stable",
"target_settings": ["@rules_rust//rust/toolchain/channel:stable"],
Expand Down

0 comments on commit f5ee80b

Please sign in to comment.