summaryrefslogtreecommitdiff
path: root/misc/xd-rust/files
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2025-08-25 13:56:02 +0200
committerMikael Urankar <mikael@FreeBSD.org>2025-09-01 10:24:04 +0200
commitc4e118b293f62c76dcb50f28425b69ccc4afd14b (patch)
treea61f9edac5d19774188d65e1250065216417d28c /misc/xd-rust/files
parentmail/thunderbird: : Fix build with rust 1.89.0 (diff)
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)
Diffstat (limited to 'misc/xd-rust/files')
-rw-r--r--misc/xd-rust/files/patch-rust-1.89.010
1 files changed, 10 insertions, 0 deletions
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<TableOption> for &xd::table::Table {
+ }
+ }
+
++#[warn(dangerous_implicit_autorefs)]
+ #[rustfmt::skip]
+ pub fn app() -> App<'static, 'static> {
+ App::new("xd")