Commit 38affb0
committed
[bazel] Fix rust libudev-sys to build under bazel
The libudev-sys crate invokes the compiler directly rather than via the
cargo (and bazel) supplied `RUSTC` environment variable. This causes the
library to fail when building under bazel. This patch fixes the
libudev-sys crate to invoke the compiler via the `RUSTC` variable.
This is the same patch as the [PR](dcuddeback/libudev-sys#11)
sent to libudev-sys.
Signed-off-by: Chris Frantz <cfrantz@google.com>1 parent a47c82c commit 38affb0
File tree
4 files changed
+29
-0
lines changed- sw/host/opentitanlib
- third_party/cargo
- patches
4 files changed
+29
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
541 | 547 | | |
542 | 548 | | |
543 | 549 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments