about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-02-05 19:09:35 +0800
committerGitHub <noreply@github.com>2025-02-05 19:09:35 +0800
commitcc58e8b7ec3c09a04b4d2420ee9a328bfad73e15 (patch)
treee099121b33a7ce8b1179d52d8125dfb492f62218 /compiler/rustc_codegen_gcc/src
parentf9f667f8b915856b0dc8e601464b415e44702a3b (diff)
parent1ed804ddb9c9c018aeb386669f81e42a21721d90 (diff)
downloadrust-cc58e8b7ec3c09a04b4d2420ee9a328bfad73e15.tar.gz
rust-cc58e8b7ec3c09a04b4d2420ee9a328bfad73e15.zip
Rollup merge of #136418 - Ayush1325:command-env, r=jhpratt
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
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions