about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-17 19:33:39 +0000
committerbors <bors@rust-lang.org>2024-10-17 19:33:39 +0000
commit3ed6e3cc69857129c1d314daec00119ff47986ed (patch)
tree9421deb43c8926a7e1fc9773eb0f731de2c1b2f9 /library/std
parent86bd45979a964678b40b79156744f0057759d840 (diff)
parentc9f3a7de1ec2d33043275854a4564c4dafad93ca (diff)
downloadrust-3ed6e3cc69857129c1d314daec00119ff47986ed.tar.gz
rust-3ed6e3cc69857129c1d314daec00119ff47986ed.zip
Auto merge of #131848 - matthiaskrgr:rollup-l29a75j, r=matthiaskrgr
Rollup of 7 pull requests

Successful merges:

 - #129620 (Provide a more convinient way of developing rustc on NixOS)
 - #131805 (rustc_llvm: Fix flattened CLI args)
 - #131818 (Enable XRay instrumentation for LoongArch Linux targets)
 - #131825 (SolverDelegate add assoc type for Infcx)
 - #131833 (Add `must_use` to `CommandExt::exec`)
 - #131835 (Do not run test where it cannot run)
 - #131844 (Add mailmap entry for kobzol)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'library/std')
-rw-r--r--library/std/src/os/unix/process.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/os/unix/process.rs b/library/std/src/os/unix/process.rs
index 9aadd949116..ef5adaf2290 100644
--- a/library/std/src/os/unix/process.rs
+++ b/library/std/src/os/unix/process.rs
@@ -154,6 +154,7 @@ pub trait CommandExt: Sealed {
     /// required to gracefully handle errors it is recommended to use the
     /// cross-platform `spawn` instead.
     #[stable(feature = "process_exec2", since = "1.9.0")]
+    #[must_use]
     fn exec(&mut self) -> io::Error;
 
     /// Set executable argument