Skip to content

Commit a489e94

Browse files
tangalbert919jpakkane
authored andcommitted
compilers: Implement get_cxx_interoperability_args
As is the case with most other methods, it must be overriden in another compiler for it to have any use. Only the Swift compiler uses this method at this time.
1 parent 3d80541 commit a489e94

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mesonbuild/compilers/compilers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,6 +1119,9 @@ def get_crt_link_args(self, crt_val: str, buildtype: str) -> T.List[str]:
11191119
def get_compile_only_args(self) -> T.List[str]:
11201120
return []
11211121

1122+
def get_cxx_interoperability_args(self, lang: T.Dict[str, Compiler]) -> T.List[str]:
1123+
raise EnvironmentException('This compiler does not support CXX interoperability')
1124+
11221125
def get_preprocess_only_args(self) -> T.List[str]:
11231126
raise EnvironmentException('This compiler does not have a preprocessor')
11241127

0 commit comments

Comments
 (0)