about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src
diff options
context:
space:
mode:
authorAyush Singh <ayush@beagleboard.org>2025-01-19 22:23:35 +0530
committerAyush Singh <ayush@beagleboard.org>2025-02-02 08:26:20 +0530
commit1ed804ddb9c9c018aeb386669f81e42a21721d90 (patch)
tree0e43120c28be18d5e1601c0f028879554c8b652d /compiler/rustc_codegen_gcc/src
parent8239a37f9c0951a037cfc51763ea52a20e71e6bd (diff)
downloadrust-1ed804ddb9c9c018aeb386669f81e42a21721d90.tar.gz
rust-1ed804ddb9c9c018aeb386669f81e42a21721d90.zip
uefi: process: Add support for command environment variables
Set environment variables before launching the process and restore the
prior variables after the program exists.

This is the same implementation as the one used by UEFI Shell Execute [0].

[0]: https://github.com/tianocore/edk2/blob/2d2642f4832ebc45cb7d5ba9430b933d953b94f2/ShellPkg/Application/Shell/ShellProtocol.c#L1700

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions