2 ms·
I think the point is that all of the code which will get compiled to produce the final binary should be in the repo, and so any generated code that affects the
by simiones 3y ago
I think the point is that all of the code which will get compiled to produce the final binary should be in the repo, and so any generated code that affects the final binary should be in the repo.
The use of autotools or other similar tools, ones that are supposed to generate code on the fly on the final user's machine, make this requirement essentially impossible.
- Nullabillity 3y agoYour compiler also falls under that bucket, though.
- sokoloff 3y agoReference the old Ken Thompson compiler hack to provide a backdoor for Unix logins: https://wiki.c2.com/?TheKenThompsonHack https://wiki.c2.com/?TheKenThompsonHack
- simiones 3y agoIn this case, we're talking about someone distributing source code for others to compile, so that is out of scope.