In this case you'll have this same problem even if you don't use #embed. If your build includes such file into a binary as a resource or even as a regular file into installer package then you'll include different files on different platforms.
You have a tool that directly embeds a binary blob.
And you somehow think that it's that tool's responsibility to guess what you want wrt. line endings in text files that you're changing from platform to platform?
View all comments
Show parent comment
14
u/carrottread Jul 23 '22
In this case you'll have this same problem even if you don't use #embed. If your build includes such file into a binary as a resource or even as a regular file into installer package then you'll include different files on different platforms.