resinator should not observe any environment variables #17585
Labels
accepted
This proposal is planned.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
proposal
This issue suggests modifications. If it also has the "accepted" label then it is planned.
Milestone
One of zig's principles as a toolchain is to reduce dependencies on global state of the system, so that collaborators on wildly different systems can have a seamless experience working with each other.
To that end, this code should be deleted:
zig/src/resinator/compile.zig
Lines 112 to 123 in 7a9500f
All include paths that are intended to be observed by resinator should be provided explicitly by the user, and explicitly for resinator and no other files, and it should be per invocation rather than global.
I noticed this when enhancing
zig env
to tattle on what environment variables are possibly observed by the compiler, and it's unfortunate thatINCLUDE
is in this list.cc @squeek502
The text was updated successfully, but these errors were encountered: