diff options
author | Mikael Urankar <mikael@FreeBSD.org> | 2024-09-09 10:59:56 +0200 |
---|---|---|
committer | Mikael Urankar <mikael@FreeBSD.org> | 2024-09-10 12:54:53 +0200 |
commit | 21864bd771b228b769092b58e8a0bbec901ecd9c (patch) | |
tree | 3cf510974b53e596de1c49897cb0cb6e28f66693 /x11/clipcat/files/patch-rust-1.81.0 | |
parent | lang/rust: Update to 1.81.0 (diff) |
x11/clipcat: Fix build with rust 1.81.0
PR: 281300
Diffstat (limited to 'x11/clipcat/files/patch-rust-1.81.0')
-rw-r--r-- | x11/clipcat/files/patch-rust-1.81.0 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/x11/clipcat/files/patch-rust-1.81.0 b/x11/clipcat/files/patch-rust-1.81.0 new file mode 100644 index 000000000000..57a9d1b120ab --- /dev/null +++ b/x11/clipcat/files/patch-rust-1.81.0 @@ -0,0 +1,30 @@ +--- Cargo.toml.orig 2024-08-10 05:32:35 UTC ++++ Cargo.toml +@@ -122,7 +122,6 @@ async_fn_in_trait = "allow" + + [workspace.lints.rust] + async_fn_in_trait = "allow" +-box_pointers = "allow" + + # TODO: deny `unused_crate_dependencies` after https://github.com/rust-lang/rust/issues/95513 being solved + unused_crate_dependencies = "allow" +--- crates/proto/build.rs.orig 2024-09-07 13:10:31 UTC ++++ crates/proto/build.rs +@@ -6,7 +6,6 @@ fn prost_config() -> Config { + config + } + +-#[allow(box_pointers)] + fn main() -> Result<(), Box<dyn std::error::Error>> { + tonic_build::configure().compile_with_config( + prost_config(), +--- crates/proto/src/lib.rs.orig 2024-09-07 13:11:02 UTC ++++ crates/proto/src/lib.rs +@@ -2,7 +2,6 @@ mod proto { + mod proto { + // SAFETY: allow: prost + #![allow( +- box_pointers, + unreachable_pub, + unused_qualifications, + unused_results, |