Skip to content

Commit

Permalink
net-im/libsignal-node: Fix build with rust 1.71.0
Browse files Browse the repository at this point in the history
Do not abort if documentation is missing as we don't need it.

error: missing documentation for an extern crate
--> curve25519-dalek-4f0aa6653c51598daa0a2f53b8ba54ce0eedfbdd/src/lib.rs:265:1
265 | pub extern crate digest;
    | ^^^^^^^^^^^^^^^^^^^^^^^

PR:		272449
  • Loading branch information
MikaelUrankar committed Jul 19, 2023
1 parent 3cb39b7 commit 39bc605
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions net-im/libsignal-node/files/patch-curve25519-dalek_src_lib.rs
@@ -0,0 +1,11 @@
--- ../curve25519-dalek-4f0aa6653c51598daa0a2f53b8ba54ce0eedfbdd/src/lib.rs.orig 2023-07-12 11:09:23 UTC
+++ ../curve25519-dalek-4f0aa6653c51598daa0a2f53b8ba54ce0eedfbdd/src/lib.rs
@@ -15,7 +15,7 @@
#![cfg_attr(feature = "simd_backend", feature(stdsimd))]

// Refuse to compile if documentation is missing.
-#![deny(missing_docs)]
+//#![deny(missing_docs)]

#![doc(html_logo_url = "https://doc.dalek.rs/assets/dalek-logo-clear.png")]
#![doc(html_root_url = "https://docs.rs/curve25519-dalek/3.2.1")]

0 comments on commit 39bc605

Please sign in to comment.