[llvm] [llvm-lit] Print environment variables when using env without subcommand (PR #98414)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 21 18:01:12 PDT 2024
================
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
----------------
Harini0924 wrote:
I agree that the `print_environment.py` file is no longer needed. I've integrated its functionality directly into the `env` command's logic. Now, when the `env` command is run without any arguments, it generates and returns a list of all environment variables in the `KEY=VALUE` format. This was the original purpose of `print_environment.py`, but since the `env` command itself now handles this, the script has become redundant and can be safely removed. What do you think?
https://github.com/llvm/llvm-project/pull/98414
More information about the llvm-commits
mailing list