Bazel supports various compiler flags specific to the language being compiled. The following are some of the commonly used flags specific to compilers used by Bazel:
C++ compiler flags: Bazel supports a variety of C++ compiler flags, including optimization and debug flags, language standards flags, warning flags, link flags, and more.
Java compiler flags: Bazel supports a variety of Java compiler flags, including optimization and debug flags, classpath flags, annotation flags, and more.
Python compiler flags: Bazel supports a variety of Python compiler flags, including optimization and debug flags, Python version flags, and others.
Objective-C compiler flags: Bazel supports a variety of Objective-C compiler flags, including optimization and debug flags, framework flags, and others.
Swift compiler flags: Bazel supports a variety of Swift compiler flags, including optimization and debug flags, language version flags, module flags, and more.
Rust compiler flags: Bazel supports a variety of Rust compiler flags, including optimization and debug flags, target flags, and more.
These flags can be specified in the build files using the appropriate syntax for the language being compiled.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2021-05-12 11:00:00 +0000
Seen: 18 times
Last updated: Feb 15 '22
How can a list be sorted alphabetically within a console application?
What does the error message "xml.parsers.expat.ExpatError" signify when parsing XML?
How can a named pipe be used to establish communication between virtual machines?
How can one facilitate interoperability between Rust and .NET?
Does CFG not get generated by LLVM?
What is the method to get a printable output of a C++11 time_point?
What is the process of redefining a c++ macro with fewer parameters?