Docs for cc_test
should mention that the linkstatic
default is different on macOS
#16479
Labels
help wanted
Someone outside the Bazel team could own this
P3
We're not considering working on this, but happy to review a PR. (No assignee)
team-Documentation
Documentation improvements that cannot be directly linked to other team labels
team-Rules-CPP
Issues for C++ rules
type: documentation (cleanup)
Description of the bug:
The docs for
linkstatic
say that the default islinkstatic = False
forcc_test
targets. This isn't true on macOS because the osx toolchain does not provide asupports_dynamic_linker
feature, which is required forlinkstatic = False
support. See ec55533 and #4341 (comment) for background.What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
n/a, docs bug
Which operating system are you running Bazel on?
macOS
What is the output of
bazel info release
?release 5.2.0
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?No response
Have you found anything relevant by searching the web?
ec55533
#4341 (comment)
https://bazelbuild.slack.com/archives/CGA9QFQ8H/p1665782748672499
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: