zig
zig copied to clipboard
std.Build: Implement addEmbedPath for adding C #embed search directories
Closes #21626
Allows adding new search directories to C23's #embed
do u know where the docs are specifying --embed-dir is the right flag to use?
can you add a test?
do u know where the docs are specifying
--embed-diris the right flag to use?
It was linked in the original issue, but here it is: https://clang.llvm.org/docs/ClangCommandLineReference.html
--embed-dir=<dir>Add directory to embed search path
can you add a test?
Sure
@nektro I added a test, would you mind checking if I created it in the correct place and all?
If someone could run CI that would be great.
Test failure should be fixed now; it was expecting \n for a newline (causing failure on windows with \r\n).
Is there anything that should be done before this gets merged? Thanks.
Looks like this needs an update for current master.
Should be fixed now.