Open brt-adam-snaider opened 3 months ago
$ bazel build -c opt @aos//aos:init_rs ERROR: /home/adam.snaider/.cache/bazel/_bazel_adam.snaider/bca7a8928611241c3a03674f4fc2245d/external/aos/aos/BUILD:205:16: in rust_library rule @@aos//aos:init_rs: Traceback (most recent call last): File "/home/adam.snaider/.cache/bazel/_bazel_adam.snaider/bca7a8928611241c3a03674f4fc2245d/external/rules_rust/rust/private/rust.bzl", line 87, column 32, in _rust_library_impl return _rust_library_common(ctx, "rlib") File "/home/adam.snaider/.cache/bazel/_bazel_adam.snaider/bca7a8928611241c3a03674f4fc2245d/external/rules_rust/rust/private/rust.bzl", line 183, column 32, in _rust_library_common return rustc_compile_action( File "/home/adam.snaider/.cache/bazel/_bazel_adam.snaider/bca7a8928611241c3a03674f4fc2245d/external/rules_rust/rust/private/rustc.bzl", line 1455, column 28, in rustc_compile_action runfiles = ctx.runfiles( Error in runfiles: at index 0 of files, got element of type NoneType, want File ERROR: /home/adam.snaider/.cache/bazel/_bazel_adam.snaider/bca7a8928611241c3a03674f4fc2245d/external/aos/aos/BUILD:205:16: Analysis of target '@@aos//aos:init_rs' failed ERROR: Analysis of target '@@aos//aos:init_rs' failed; build aborted INFO: Elapsed time: 0.224s, Critical Path: 0.01s INFO: 1 process: 1 internal. ERROR: Build did NOT complete successfully
This error only seems to happen when I try to add a cc_library as a dependency.
Issue doesn't not appear to be present on 0.45.1
Can you provide a minimal example so we can dig into this farther?
This error only seems to happen when I try to add a cc_library as a dependency.
Issue doesn't not appear to be present on 0.45.1