From c7b7b3442501832c902a656d0c294ca9f0fff9a1 Mon Sep 17 00:00:00 2001 From: Christian Jaeger Date: Thu, 20 Aug 2026 19:38:08 +0200 Subject: [PATCH 1/4] patch.rs: update docs --- patchparser/src/patch/patch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patchparser/src/patch/patch.rs b/patchparser/src/patch/patch.rs index 8d0698e..0b9c16d 100644 --- a/patchparser/src/patch/patch.rs +++ b/patchparser/src/patch/patch.rs @@ -174,7 +174,7 @@ impl<'a> PatchHeadHeader<'a> { /// /// Returns the old value when the header was updated. /// - /// The new line contents is allocated from `allocator`. + /// The new line contents is allocated from `bump`. pub fn update_header( &mut self, header_name: impl AsRef, From 6d05b44b03f3ffced2a6b61647f27dc183d773a4 Mon Sep 17 00:00:00 2001 From: Christian Jaeger Date: Thu, 20 Aug 2026 02:37:55 +0200 Subject: [PATCH 2/4] Update patchparser/.rustsec-ignore.txt symlink --- patchparser/.rustsec-ignore.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patchparser/.rustsec-ignore.txt b/patchparser/.rustsec-ignore.txt index 2ec959a..4c46f4c 120000 --- a/patchparser/.rustsec-ignore.txt +++ b/patchparser/.rustsec-ignore.txt @@ -1 +1 @@ -../.rustsec-ignore.txt \ No newline at end of file +../split-patch/.rustsec-ignore.txt \ No newline at end of file From 175b2106e5d97c619628868e02c449bb17d857ce Mon Sep 17 00:00:00 2001 From: Christian Jaeger Date: Thu, 20 Aug 2026 16:36:00 +0200 Subject: [PATCH 3/4] .rustsec-ignore.txt: ignore crossbeam-epoch --- split-patch/.rustsec-ignore.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/split-patch/.rustsec-ignore.txt b/split-patch/.rustsec-ignore.txt index 4bd22dd..c62ea62 100644 --- a/split-patch/.rustsec-ignore.txt +++ b/split-patch/.rustsec-ignore.txt @@ -9,3 +9,9 @@ RUSTSEC-2024-0384 # adler 1.0.2 affected by RUSTSEC-2025-0056 (unmaintained) # -> only used for anyhow backtraces RUSTSEC-2025-0056 + +# crossbeam-epoch 0.9.18 affected by RUSTSEC-2026-0204 (Invalid +# pointer dereference in `fmt::Pointer` impl for `Atomic` and `Shared` +# when the underlying pointer is invalid) +# -> currently only using rayon for the tests +RUSTSEC-2026-0204 From 839e16456d161ae5c13f117b17d3394a668e42a1 Mon Sep 17 00:00:00 2001 From: Christian Jaeger Date: Fri, 21 Aug 2026 05:35:01 +0200 Subject: [PATCH 4/4] test-split-patches-in-dir.rs: share common options --- split-patch/test/test-split-patches-in-dir.rs | 22 ++++++------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/split-patch/test/test-split-patches-in-dir.rs b/split-patch/test/test-split-patches-in-dir.rs index 4880381..30988a9 100644 --- a/split-patch/test/test-split-patches-in-dir.rs +++ b/split-patch/test/test-split-patches-in-dir.rs @@ -47,32 +47,24 @@ fn main() -> Result<()> { fs::create_dir_all(args.output_base.clone()).expect("creating output_base directory"); let output_base = args.output_base; + let common = || SplitArgs { + monotonous_numbers: true, + ..Default::default() + }; let split_args = [ - ( - "--", - SplitArgs { - hunks: false, - changes: false, - monotonous_numbers: true, - ..Default::default() - }, - ), + ("--", SplitArgs { ..common() }), ( "--hunks", SplitArgs { hunks: true, - changes: false, - monotonous_numbers: true, - ..Default::default() + ..common() }, ), ( "--changes", SplitArgs { - hunks: false, changes: true, - monotonous_numbers: true, - ..Default::default() + ..common() }, ), ];