diff options
| author | bors <bors@rust-lang.org> | 2023-08-28 10:55:05 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-28 10:55:05 +0000 |
| commit | 9847c6406dc8182abb417b69000fcd0bc5f4a1b7 (patch) | |
| tree | 4c2176c7b6001e7a76d7446f0987720c09b2b771 /compiler/rustc_codegen_llvm/src | |
| parent | 1bd043098e05839afb557bd7a2858cb09a4054ca (diff) | |
| parent | edefa8b105cd4a35b689e85187689f4fb4085ede (diff) | |
| download | rust-9847c6406dc8182abb417b69000fcd0bc5f4a1b7.tar.gz rust-9847c6406dc8182abb417b69000fcd0bc5f4a1b7.zip | |
Auto merge of #114848 - michaelvanstraten:spawn_with_attributes, r=ChrisDenton
Add ability to spawn Windows process with Proc Thread Attributes | Take 2 This is the second attempt to merge pull request #88193 into the standard library. This PR implements the ability to add arbitrary attributes to a command on Windows targets using a new `raw_attribute` method on the [`CommandExt`](https://doc.rust-lang.org/stable/std/os/windows/process/trait.CommandExt.html) trait. `@TyPR124` and my main motivation behind adding this feature is to enable the support of pseudo terminals in the std library, but there are many more applications. A good starting point to get into this topic is to head over to the [`Win32 API documentation`](https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-updateprocthreadattribute).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
