From c4e118b293f62c76dcb50f28425b69ccc4afd14b Mon Sep 17 00:00:00 2001 From: Mikael Urankar Date: Mon, 25 Aug 2025 13:56:02 +0200 Subject: misc/xd-rust: Fix build with rust 1.89.0 error: implicit autoref creates a reference to the dereference of a raw pointer --> src/bin/xd/cli.rs:107:17 PR: 288923 Approved by: portmgr (build fix blanket) --- misc/xd-rust/files/patch-rust-1.89.0 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 misc/xd-rust/files/patch-rust-1.89.0 (limited to 'misc/xd-rust/files/patch-rust-1.89.0') diff --git a/misc/xd-rust/files/patch-rust-1.89.0 b/misc/xd-rust/files/patch-rust-1.89.0 new file mode 100644 index 000000000000..e6428dda91df --- /dev/null +++ b/misc/xd-rust/files/patch-rust-1.89.0 @@ -0,0 +1,10 @@ +--- src/bin/xd/cli.rs.orig 2025-08-23 07:56:06 UTC ++++ src/bin/xd/cli.rs +@@ -100,6 +100,7 @@ impl From for &xd::table::Table { + } + } + ++#[warn(dangerous_implicit_autorefs)] + #[rustfmt::skip] + pub fn app() -> App<'static, 'static> { + App::new("xd") -- cgit v1.2.3