Stream: general

Topic: pre-processed

gnzlbg (Nov 09 2018 at 15:13, on Zulip):

I have a C library that contains an include! which is expanded by rust from a file generated during its and I want to test its ABI with ctest, but ctest only takes a path to the file.

Is there a way to point ctest in one crate, to the with the include! directives removed of one of its dependencies ?

gnzlbg (Nov 09 2018 at 15:14, on Zulip):

AFAICT the include!s are replaced during macro expansion, and a version of the source files with these replaced is not written anywhere.

Last update: Jun 04 2020 at 18:40UTC