Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make rustfmt toolchain optional in bindgen #2744

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

hlopko
Copy link
Member

@hlopko hlopko commented Jul 16, 2024

No description provided.

@hlopko hlopko marked this pull request as ready for review July 16, 2024 09:30
bindgen/private/bindgen.bzl Outdated Show resolved Hide resolved
@hlopko hlopko force-pushed the optional_rustfmt branch from 636d898 to 812ccc5 Compare July 17, 2024 08:19
@hlopko hlopko force-pushed the optional_rustfmt branch from 812ccc5 to c1ccc40 Compare July 17, 2024 13:51
@krasimirgg krasimirgg enabled auto-merge July 17, 2024 13:58
@krasimirgg krasimirgg added this pull request to the merge queue Jul 17, 2024
Merged via the queue into bazelbuild:main with commit 6a140b2 Jul 17, 2024
3 checks passed
fmeum referenced this pull request in bazel-contrib/toolchains_llvm Jul 19, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| rules_rust | bazel_dep | minor | `0.47.1` -> `0.48.0` |
| [rules_rust](https://togithub.com/bazelbuild/rules_rust) |
http_archive | minor | `0.47.1` -> `0.48.0` |

---

### Release Notes

<details>
<summary>bazelbuild/rules_rust (rules_rust)</summary>

###
[`v0.48.0`](https://togithub.com/bazelbuild/rules_rust/releases/tag/0.48.0)

[Compare
Source](https://togithub.com/bazelbuild/rules_rust/compare/0.47.1...0.48.0)

### 0.48.0

#### Bzlmod

```python
bazel_dep(name = "rules_rust", version = "0.48.0")
```

#### WORKSPACE

```python
load("@&#8203;bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_rust",
    integrity = "sha256-Weev1uz2QztBlDA88JX6A1N72SucD1V8lBsaliM0TTg=",
    urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.48.0/rules_rust-v0.48.0.tar.gz"],
)
```

Additional documentation can be found at:
https://bazelbuild.github.io/rules_rust/#setup

#### What's Changed

- Add support for shared test-only modules by
[@&#8203;IvanIsCoding](https://togithub.com/IvanIsCoding) in
[https://github.com/bazelbuild/rules_rust/pull/2734](https://togithub.com/bazelbuild/rules_rust/pull/2734)
- Bazelmod documentation and code examples. by
[@&#8203;marvin-hansen](https://togithub.com/marvin-hansen) in
[https://github.com/bazelbuild/rules_rust/pull/2713](https://togithub.com/bazelbuild/rules_rust/pull/2713)
- Add support for --wrap-extern-fns to bindgen rules by
[@&#8203;hlopko](https://togithub.com/hlopko) in
[https://github.com/bazelbuild/rules_rust/pull/2743](https://togithub.com/bazelbuild/rules_rust/pull/2743)
- Pass toolchain param in ctx.action.run in bindgen by
[@&#8203;hlopko](https://togithub.com/hlopko) in
[https://github.com/bazelbuild/rules_rust/pull/2745](https://togithub.com/bazelbuild/rules_rust/pull/2745)
- Make it possible to not specify clang binary in bindgen by
[@&#8203;hlopko](https://togithub.com/hlopko) in
[https://github.com/bazelbuild/rules_rust/pull/2746](https://togithub.com/bazelbuild/rules_rust/pull/2746)
- Make rustfmt toolchain optional in bindgen by
[@&#8203;hlopko](https://togithub.com/hlopko) in
[https://github.com/bazelbuild/rules_rust/pull/2744](https://togithub.com/bazelbuild/rules_rust/pull/2744)
- Fix collecting cc deps in collect_deps by
[@&#8203;mvukov](https://togithub.com/mvukov) in
[https://github.com/bazelbuild/rules_rust/pull/2699](https://togithub.com/bazelbuild/rules_rust/pull/2699)
- Support incompatible enable proto toolchain resolution by
[@&#8203;illicitonion](https://togithub.com/illicitonion) in
[https://github.com/bazelbuild/rules_rust/pull/2741](https://togithub.com/bazelbuild/rules_rust/pull/2741)
- Release 0.48.0 by
[@&#8203;illicitonion](https://togithub.com/illicitonion) in
[https://github.com/bazelbuild/rules_rust/pull/2750](https://togithub.com/bazelbuild/rules_rust/pull/2750)

#### New Contributors

- [@&#8203;IvanIsCoding](https://togithub.com/IvanIsCoding) made their
first contribution in
[https://github.com/bazelbuild/rules_rust/pull/2734](https://togithub.com/bazelbuild/rules_rust/pull/2734)
- [@&#8203;marvin-hansen](https://togithub.com/marvin-hansen) made their
first contribution in
[https://github.com/bazelbuild/rules_rust/pull/2713](https://togithub.com/bazelbuild/rules_rust/pull/2713)
- [@&#8203;mvukov](https://togithub.com/mvukov) made their first
contribution in
[https://github.com/bazelbuild/rules_rust/pull/2699](https://togithub.com/bazelbuild/rules_rust/pull/2699)

**Full Changelog**:
bazelbuild/rules_rust@0.47.1...0.48.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bazel-contrib/toolchains_llvm).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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