question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make target_compatible_with available also for cc_import

See original GitHub issue

Description of the problem / feature request:

target_compatible_with is not available for cc_import

Feature requests: what underlying problem are you trying to solve with this feature?

The same logic that one would like to apply to a cc_library applies to a cc_import

What’s the output of bazel info release?

Build label: 4.0.0rc7

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
gregestrencommented, Mar 4, 2021

Apologies, I forgot to link the final commit here. It was https://github.com/bazelbuild/bazel/commit/9868455f017ddf00eaef02cb52551b45212d4136.

1reaction
gregestrencommented, Jan 15, 2021

FYI I’m giving a go at that TODO: https://bazel-review.googlesource.com/c/bazel/+/151410

Read more comments on GitHub >

github_iconTop Results From Across the Web

Importing and Exporting Guide — CMake 3.25.1 Documentation
Introduction¶. In this guide, we will present the concept of IMPORTED targets and demonstrate how to import existing executable or library files from...
Read more >
cmake - Getting imported targets through `find_package`?
Imported targets are created for each Qt module. Imported target names should be preferred instead of using a variable like Qt5<Module> ...
Read more >
MSBuild .targets Files - Microsoft Learn
Learn about the MSBuild .targets files that contain items, properties, targets, and tasks for common scenarios.
Read more >
Import Task - Apache Ant
The target from docsbuild.xml is made available by the name builddocs.docs . ... Since Ant 1.8.0, the task can also import resources from...
Read more >
GNU make
It lists the other files that the targets depend on, called the prerequisites of the target, and may also give a recipe to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found