Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 11:03:55 GMT
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 05d880c7c847 - main - textproc/sonic: Fix build with rust 1.78.0
Message-ID:  <202405131103.44DB3tHT060826@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=05d880c7c847977b9aee2080ef9babe3827c6c38

commit 05d880c7c847977b9aee2080ef9babe3827c6c38
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2024-05-07 11:18:00 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2024-05-13 11:03:22 +0000

    textproc/sonic: Fix build with rust 1.78.0
    
    PR:             278834
---
 textproc/sonic/files/patch-rust-1.78.0 | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/textproc/sonic/files/patch-rust-1.78.0 b/textproc/sonic/files/patch-rust-1.78.0
new file mode 100644
index 000000000000..639cae31303b
--- /dev/null
+++ b/textproc/sonic/files/patch-rust-1.78.0
@@ -0,0 +1,24 @@
+error: unnecessary qualification
+   --> src/store/fst.rs:690:36
+    |
+690 | ...                   if std::fs::rename(&bucket_tmp_path, &bucket_final_path).is_ok() {
+    |                          ^^^^^^^^^^^^^^^
+    |
+note: the lint level is defined here
+   --> src/main.rs:8:44
+    |
+8   | #![deny(unstable_features, unused_imports, unused_qualifications, clippy::all)]
+    |                                            ^^^^^^^^^^^^^^^^^^^^^
+
+
+--- src/main.rs.orig	2024-05-07 13:15:44.243643000 +0200
++++ src/main.rs	2024-05-07 13:15:53.870691000 +0200
+@@ -5,7 +5,7 @@
+ // License: Mozilla Public License v2.0 (MPL v2.0)
+ 
+ #![cfg_attr(feature = "benchmark", feature(test))]
+-#![deny(unstable_features, unused_imports, unused_qualifications, clippy::all)]
++#![deny(unstable_features, unused_imports, clippy::all)]
+ 
+ #[macro_use]
+ extern crate log;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405131103.44DB3tHT060826>