1
Fork 0
rust/library/std/src
Matthias Krüger a685cdc34f
Rollup merge of #123726 - jieyouxu:command-new-docs, r=Nilstrieb
Clarify `Command::new` behavior for programs with arguments

I mistakenly passed program path along arguments as the same string into `Command::new` a couple of times now. It might be useful to explicitly highlight that `Command::new` intends to accept path to a program, not path to a program plus arguments. Also nudge the user to use `Command::arg` or `Command::args` if they wish to pass arguments.
2024-06-13 22:55:44 +02:00
..
backtrace remove redundant imports 2023-12-10 10:56:22 +08:00
collections Fix typo in the docs of HashMap::raw_entry_mut 2024-06-03 17:35:58 +01:00
env remove redundant imports 2023-12-10 10:56:22 +08:00
error core/any: remove Provider trait 2023-08-13 13:07:53 -06:00
f16 Add basic f16 and f128 modules 2024-04-10 13:50:27 -04:00
f32 Add gamma and ln_gamma functions to f32 and f64 2023-07-31 07:41:50 -07:00
f64 Add gamma and ln_gamma functions to f32 and f64 2023-07-31 07:41:50 -07:00
f128 Add basic f16 and f128 modules 2024-04-10 13:50:27 -04:00
ffi fixed memory leaks in PathBuf::leak & OsString::leak tests 2024-06-06 23:18:01 +01:00
fs Make more of the test suite run on Mac Catalyst 2024-05-28 12:31:33 +02:00
hash update version placeholders 2023-12-22 11:01:42 +01:00
io replace version placeholder 2024-06-11 16:52:02 +02:00
net SeqCst->Relaxed in std::net::test. 2024-03-20 15:35:13 +01:00
num removed nonfunctioning benchmark 2024-01-11 11:30:12 -05:00
os Promote arm64ec-pc-windows-msvc to tier 2 2024-06-05 11:37:21 -07:00
panic
path fixed memory leaks in PathBuf::leak & OsString::leak tests 2024-06-06 23:18:01 +01:00
prelude replace version placeholder 2024-06-11 16:52:02 +02:00
process Rollup merge of #114379 - RalfJung:command-removed-env-vars, r=m-ou-se 2023-09-22 12:15:25 +02:00
sync replace version placeholder 2024-06-11 16:52:02 +02:00
sys Update a cranelift patch file for formatting changes. 2024-06-12 08:52:40 +10:00
sys_common Make PathBuf less Ok with adding UTF-16 then into_string 2024-06-12 01:00:21 -07:00
thread Rollup merge of #125800 - fortanix:raoul/rte-99-fix_mut_static_task_queue, r=jethrogb 2024-06-05 18:21:13 +02:00
time Rollup merge of #103056 - beetrees:timespec-bug-fix, r=thomcc 2023-05-05 18:40:32 +05:30
alloc.rs default_alloc_error_hook: explain difference to default __rdl_oom in alloc 2024-05-03 19:12:33 +02:00
ascii.rs Add the basic ascii::Char type 2023-05-03 22:09:33 -07:00
backtrace.rs Require any function with a tait in its signature to actually constrain a hidden type 2024-06-12 08:53:59 +00:00
env.rs Auto merge of #126273 - pietroalbini:pa-bootstrap-update, r=Mark-Simulacrum 2024-06-12 18:15:32 +00:00
error.rs Clean dead codes 2023-11-26 09:25:07 +08:00
f16.rs Add powi to f16 and f128 2024-05-16 15:41:06 -05:00
f32.rs variable-precision float operations behave non-deterministically 2024-05-02 18:57:30 +02:00
f64.rs variable-precision float operations behave non-deterministically 2024-05-02 18:57:30 +02:00
f128.rs Add powi to f16 and f128 2024-05-16 15:41:06 -05:00
fs.rs Document platform-specifics for Read and Write of File 2024-05-20 21:21:53 +02:00
keyword_docs.rs Mention labelled blocks in break docs 2024-03-15 10:51:57 -07:00
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs Stabilize error_in_core 2024-06-07 08:30:00 +08:00
macros.rs added column number to dbg!() 2023-12-12 18:12:23 +08:00
num.rs Replace version placeholders for 1.79 2024-05-01 21:01:51 -04:00
panic.rs Use payload_as_str instead of two downcasts. 2024-06-12 13:15:29 +02:00
panicking.rs Formatting. 2024-06-11 15:47:00 +02:00
pat.rs Add pattern types to parser 2024-04-08 11:57:17 +00:00
path.rs impl OsString::leak & PathBuf::leak 2024-06-04 11:53:59 +01:00
process.rs Clarify Command::new behavior if passed programs with arguments 2024-06-10 12:25:05 +00:00
rt.rs Change SIGPIPE ui from #[unix_sigpipe = "..."] to -Zon-broken-pipe=... 2024-05-02 19:48:29 +02:00
time.rs Rust is a proper name: rust → Rust 2024-03-07 07:49:22 +01:00