summaryrefslogtreecommitdiff
path: root/net/rosenpass/files/patch-rust-1.78.0
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2024-06-16 00:05:30 +0200
committerRobert Clausecker <fuz@FreeBSD.org>2024-06-16 13:53:28 +0200
commit3692e105f5975081bb871b326698e15507b18ed4 (patch)
treeb0a1c446fc1a35ffd4874056193115fc7d8fe8a3 /net/rosenpass/files/patch-rust-1.78.0
parentfinance/ticker: update to 4.6.3 (diff)
net/rosenpass: update to 0.22.2
- remove now obsolete patch - security fix for an anticipated protocol weakness Changelog: https://github.com/rosenpass/rosenpass/releases/tag/v0.2.2 MFH: 2024Q2
Diffstat (limited to 'net/rosenpass/files/patch-rust-1.78.0')
-rw-r--r--net/rosenpass/files/patch-rust-1.78.032
1 files changed, 0 insertions, 32 deletions
diff --git a/net/rosenpass/files/patch-rust-1.78.0 b/net/rosenpass/files/patch-rust-1.78.0
deleted file mode 100644
index efdfe6ac90b7..000000000000
--- a/net/rosenpass/files/patch-rust-1.78.0
+++ /dev/null
@@ -1,32 +0,0 @@
-Comment the "#[doc = !($field)]" line
-Upstream has changed this code a lot and this line is not present anymore.
-
-error: attribute value must be a literal
- --> rosenpass/src/msgs.rs:135:21
- |
-135 | #[doc = !($field)]
- | ^^^^^^^^^
-...
-258 | / data_lense! { Envelope<M> :=
-259 | | /// [MsgType] of this message
-260 | | msg_type: 1,
-261 | | /// Reserved for future use
-... |
-269 | | cookie: sodium::MAC_SIZE
-270 | | }
- | |_- in this macro invocation
- |
- = note: this error originates in the macro `data_lense` (in Nightly builds, run with -Z macro-backtrace for more info)
-
-
---- rosenpass/src/msgs.rs.orig 2024-05-07 11:12:55 UTC
-+++ rosenpass/src/msgs.rs
-@@ -132,7 +132,7 @@ macro_rules! data_lense(
- impl<__ContainerType $(, $( $generic: LenseView ),+ )? > $type<__ContainerType $(, $( $generic ),+ )? >{
- $(
- /// Size in bytes of the field `
-- #[doc = !($field)]
-+ //#[doc = !($field)]
- /// `
- pub const fn [< $field _len >]() -> usize{
- $len