Tag: bazel

  • KmpMatcher + links

    In an earlier post, I talked about extracting attachments from .eml files, which I was doing in pursuit of a half memory of having implemented the Knuth-Morris-Pratt algorithm. That turned out to be a dead end so I ended up consulting a lot of other sources and glomming together something new from those. You can…

  • Errors you might see if you forget `bazel_dep(name = “protobuf” …)

    If you forget to include the dependency on protobuf in your MODULE.bazel file while including a cc_proto_library target, you may see errors like the following when you try to build that target: ERROR: /private/var/tmp/…/external/abseil-cpp+/absl/utility/BUILD.bazel: no such target ‘@@abseil-cpp+//absl/utility:if_constexpr’: target ‘if_constexpr’ not declared in package ‘absl/utility’ defined by /private/var/tmp/…/external/abseil-cpp+/absl/utility/BUILD.bazelERROR: /private/var/tmp/…/external/protobuf+/src/google/protobuf/BUILD.bazel:483:11: no such target ‘@@abseil-cpp+//absl/utility:if_constexpr’: target ‘if_constexpr’…