Find
C
ase-sensitive
R
egexp search
Path
comm-central
/
python
/
rocbuild
/
rocbuild
Name
Description
Size
__init__.py
0
notify.py
Notification utility functions
967
rust.py
# Take advantage of the fact that cargo will treat lines starting with # # as comments to add preprocessing directives. This file can thus by copied # as-is to $topsrcdir/.cargo/config.toml with no preprocessing to be used there # (for e.g. independent tasks building rust code), or be preprocessed by # the build system to produce a .cargo/config.toml with the right content. #define REPLACE_NAME vendored-sources #define VENDORED_DIRECTORY comm/third_party/rust # We explicitly exclude the following section when preprocessing because # it would overlap with the preprocessed [source."@REPLACE_NAME@"], and # cargo would fail. #ifndef REPLACE_NAME [source.vendored-sources] directory = "../third_party/rust" #endif # Thankfully, @REPLACE_NAME@ is unlikely to be a legitimate source, so # cargo will ignore it when it's here verbatim. #filter substitution [source."@REPLACE_NAME@"] directory = "@top_srcdir@/@VENDORED_DIRECTORY@"
13682