commit | 1d0fe8a19c8bb50f20556e63b99d2e5290c2e4e9 | [log] [tgz] |
---|---|---|
author | David Havas <github.wrist068@passinbox.com> | Fri Jan 03 22:40:23 2025 +0100 |
committer | GitHub <noreply@github.com> | Fri Jan 03 21:40:23 2025 +0000 |
tree | 60c70f07dbdf1471cbcf279b7b21cd31cc78f96f | |
parent | b9f51f5970772a4001a2564871ed41cb613e87bb [diff] |
Replace symlinks in the output of cargo build scripts (#3067) #2948 breaks building of rdkafka with `cmake` because of dangling symlinks. When building with latest version we get the following error: ``` ERROR: /home/wincent/.cache/bazel/_bazel_wincent/394c4c1d21c5490d4a70260a2cfccaf5/external/rules_rust~~crate~crates__rdkafka-sys-4.8.0-2.3.0/BUILD.bazel:68:19: error while validating output tree artifact external/rules_rust~~crate~crates__rdkafka-sys-4.8.0-2.3.0/_bs.out_dir: child lib/cmake/RdKafka/FindLZ4.cmake is a dangling symbolic link ERROR: /home/wincent/.cache/bazel/_bazel_wincent/394c4c1d21c5490d4a70260a2cfccaf5/external/rules_rust~~crate~crates__rdkafka-sys-4.8.0-2.3.0/BUILD.bazel:68:19: Running Cargo build script rdkafka-sys failed: not all outputs were created or valid Target @@rules_rust~~crate~crates__rdkafka-0.37.0//:rdkafka failed to build Use --verbose_failures to see the command lines of failed build steps. ERROR: /home/wincent/.cache/bazel/_bazel_wincent/394c4c1d21c5490d4a70260a2cfccaf5/external/rules_rust~~crate~crates__rdkafka-sys-4.8.0-2.3.0/BUILD.bazel:18:13 Compiling Rust rlib rdkafka_sys v4.8.0+2.3.0 (7 files) failed: not all outputs were created or valid ```
This repository provides rules for building Rust projects with Bazel.
General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust
.
Please refer to the full documentation.