summaryrefslogtreecommitdiff
path: root/python/tests/py-cmd_test.py
diff options
context:
space:
mode:
author Ivan Lozano <ivanlozano@google.com> 2020-10-16 10:49:08 -0400
committer Ivan Lozano <ivanlozano@google.com> 2020-10-16 10:52:46 -0400
commit0a2a1154577a8df48e37388ca081c42cae8be141 (patch)
tree65fb3596ce3fb147176be987aabfb1ed8ff71b87 /python/tests/py-cmd_test.py
parentfaa866c5f05fbcd5d80b5feb2111da5ed2fdf41b (diff)
rust: Add cflag checks against -xc++ and -std.
If -x c++ is passed through a modules cflags, it will be overridden by a -x c and -std flag added by the build system if the extension is not .hpp/.hh and cpp_std is not set. This leads to confusing behavior. Instead, add a helpful error message to guide developers towards the correct way to specify when a header is a C++ header and which std version should be used. Bug: 171011490 Test: m nothing Change-Id: I7e7cba504798d47ce1c753ba8699d7475a95095b
Diffstat (limited to 'python/tests/py-cmd_test.py')
0 files changed, 0 insertions, 0 deletions