[libc-commits] [libc] [libc][stdlib] Implement setenv() with environment management infrastructure (PR #163018)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Thu Jan 15 10:16:20 PST 2026


================
@@ -9,3 +9,21 @@ add_entrypoint_object(
     libc.src.signal.raise
     libc.src.stdlib._Exit
 )
+
+if(TARGET libc.src.stdlib.environ_internal)
----------------
michaelrj-google wrote:

this condition shouldn't be necessary. Entrypoints are already skipped if they are missing any dependencies.

https://github.com/llvm/llvm-project/pull/163018


More information about the libc-commits mailing list