From 2c92cad9db3c3a30250b9d50e3e9dab88e6db42f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Saparelli?= Date: Sun, 13 Aug 2023 20:03:11 +1200 Subject: [PATCH] process: stabilize `Command::raw_arg` (#5930) --- tokio/src/process/mod.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tokio/src/process/mod.rs b/tokio/src/process/mod.rs index 3672f117afd..5cf06fe6087 100644 --- a/tokio/src/process/mod.rs +++ b/tokio/src/process/mod.rs @@ -398,17 +398,11 @@ impl Command { self } - cfg_unstable_windows! { + cfg_windows! { /// Append literal text to the command line without any quoting or escaping. /// /// This is useful for passing arguments to `cmd.exe /c`, which doesn't follow /// `CommandLineToArgvW` escaping rules. - /// - /// **Note**: This is an [unstable API][unstable] but will be stabilised once - /// tokio's MSRV is sufficiently new. See [the documentation on - /// unstable features][unstable] for details about using unstable features. - /// - /// [unstable]: crate#unstable-features pub fn raw_arg>(&mut self, text_to_append_as_is: S) -> &mut Command { self.std.raw_arg(text_to_append_as_is); self