Some environment variables are overridable with Build::env, see #1682 for the implementation. We were quite conservative in which environment variables we allow overriding, currently only:
SDKROOT
*_DEPLOYMENT_TARGET
WASI_SDK_PATH
But maybe we should allow overriding further things? See #1656 (comment) for discussion on different "categories" of environment variables, especially category 2 is interesting.
(Or maybe we shouldn't allow overriding anything at all? Would be slightly breaking to walk back on it, but depending on when we do so, people might not be aren't relying on it?)
Some environment variables are overridable with
Build::env, see #1682 for the implementation. We were quite conservative in which environment variables we allow overriding, currently only:SDKROOT*_DEPLOYMENT_TARGETWASI_SDK_PATHBut maybe we should allow overriding further things? See #1656 (comment) for discussion on different "categories" of environment variables, especially category 2 is interesting.
(Or maybe we shouldn't allow overriding anything at all? Would be slightly breaking to walk back on it, but depending on when we do so, people might not be aren't relying on it?)