Skip to content

Conversation

@UebelAndre
Copy link
Collaborator

No description provided.

@UebelAndre
Copy link
Collaborator Author

I would like this release to include the following changes

@dtolnay
Copy link
Contributor

dtolnay commented Aug 24, 2023

I'll add that unit test ASAP today.

@UebelAndre
Copy link
Collaborator Author

I'll add that unit test ASAP today.

Thanks! No rush, just communicating what I'm hoping to have in before merging this PR 😄

@granaghan
Copy link
Contributor

It would be great if this release could pick up this PR as well. It's approved and just hitting the same infra failure this release is hitting.

@dtolnay
Copy link
Contributor

dtolnay commented Aug 24, 2023

For the "_coverage_report.dat: No such file or directory" failure: I found if you amend and force-push the PR to retrigger the job, eventually it will pass after a few tries.

@illicitonion
Copy link
Collaborator

I'd love to sneak #2139 in if I can

@dzbarsky
Copy link
Contributor

Any chance we could get #2119 in too? Would love to drop my local patches

UebelAndre and others added 3 commits August 31, 2023 16:40
…uild#2139)

My use-case here is needing to point at different paths for libclang.so
when using bindgen on different platforms.

This allows specifying build script env vars in annotations like:

```starlark
build_script_env = {
  "BORING_BSSL_PATH": "$(execpath @//third_party/boringssl:gen_dir)",
  "LIBCLANG_PATH": {
      "x86_64-unknown-linux-gnu": "$(execpath @libclang_linux_x86_64//file:libclang.so)",
  },
},
```

which will unconditionally set `$BORING_BSSL_PATH`, but will only set
`$LIBCLANG_PATH` on x86-64 Linux.

We could in theory support this kind of construct for all annotation
fields, but I've only added it where I happened to need it for now.
Fixes bazelbuild#2120

Co-authored-by: UebelAndre <github@uebelandre.com>
@illicitonion illicitonion merged commit 4dbb81a into bazelbuild:main Aug 31, 2023
@UebelAndre UebelAndre deleted the releases branch August 31, 2023 21:02
ttiurani pushed a commit to ttiurani/rules_rust that referenced this pull request Sep 15, 2023
Co-authored-by: Daniel Wagner-Hall <dwagnerhall@apple.com>
Co-authored-by: Keith Smiley <keithbsmiley@gmail.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.

6 participants