A provider for compilation and linking of C++. This is also a marking provider telling C++ rules that they can depend on the rule with this provider. If it is not intended for the rule to be depended on by C++, the rule should wrap the CcInfo in some other provider.Documentation Index
Fetch the complete documentation index at: https://bazel-pr-29415.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Members
CcInfo
CcInfo constructor.
Parameters
| Parameter | Description |
|---|---|
compilation_context | CompilationContext; or None; default is None The CompilationContext. |
linking_context | LinkingContext; or None; default is None The LinkingContext. |
debug_context | DebugContext; or None; default is None The DebugContext. |
compilation_context
CompilationContext
linking_context
LinkingContext
to_json
---incompatible_struct_has_no_methods. Use this flag to verify your code is compatible with its imminent removal.
Creates a JSON string from the struct parameter. This method only works if all struct elements (recursively) are strings, ints, booleans, other structs, a list of these types or a dictionary with string keys and values of these types. Quotes and new lines in strings are escaped. Examples:
to_proto
---incompatible_struct_has_no_methods. Use this flag to verify your code is compatible with its imminent removal.
Creates a text message from the struct parameter. This method only works if all struct elements (recursively) are strings, ints, booleans, other structs or dicts or lists of these types. Quotes and new lines in strings are escaped. Struct keys are iterated in the sorted order. Examples: