From 2629166caa26a491521cd01b659980684ca55404 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 01:53:35 +0000 Subject: [PATCH 1/2] chore(deps): update rust crate sysinfo to 0.39 --- Cargo.lock | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++-- Cargo.toml | 2 +- 2 files changed, 52 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7a99bd9..11480e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -438,6 +438,16 @@ dependencies = [ "crypto-common", ] +[[package]] +name = "dispatch2" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e0e367e4e7da84520dedcac1901e4da967309406d1e51017ae1abfb97adbd38" +dependencies = [ + "bitflags", + "objc2", +] + [[package]] name = "displaydoc" version = "0.2.5" @@ -946,6 +956,15 @@ dependencies = [ "libc", ] +[[package]] +name = "objc2" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a12a8ed07aefc768292f076dc3ac8c48f3781c8f2d5851dd3d98950e8c5a89f" +dependencies = [ + "objc2-encode", +] + [[package]] name = "objc2-core-foundation" version = "0.3.2" @@ -953,6 +972,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" dependencies = [ "bitflags", + "dispatch2", + "objc2", +] + +[[package]] +name = "objc2-encode" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" + +[[package]] +name = "objc2-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" +dependencies = [ + "bitflags", + "objc2", ] [[package]] @@ -965,6 +1002,17 @@ dependencies = [ "objc2-core-foundation", ] +[[package]] +name = "objc2-open-directory" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb82bed227edf5201dfedf072bba4015a33d3d4a98519837295a90f0a23f676d" +dependencies = [ + "objc2", + "objc2-core-foundation", + "objc2-foundation", +] + [[package]] name = "once_cell" version = "1.21.4" @@ -1392,15 +1440,16 @@ dependencies = [ [[package]] name = "sysinfo" -version = "0.38.4" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92ab6a2f8bfe508deb3c6406578252e491d299cbbf3bc0529ecc3313aee4a52f" +checksum = "cd9f9fe3d2b7b75cf4f2805e5b9926e8ac47146667b16b86298c4a8bf08cc469" dependencies = [ "libc", "memchr", "ntapi", "objc2-core-foundation", "objc2-io-kit", + "objc2-open-directory", "windows", ] diff --git a/Cargo.toml b/Cargo.toml index d0db7f4..59e611a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ predicates = "3.1.3" rand = { version = "0.10.0" } regex = "1.10.4" sha2 = "0.11" -sysinfo = "0.38" +sysinfo = "0.39" tempfile = "3.10.1" terminal_size = "0.4.2" textwrap = { version = "0.16.1", features = ["terminal_size"] } From 8e0ef18fdc7c21769e47c0a78ab37a3c28f33ae6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 01:53:42 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/workflows/GnuComment.yml | 12 ++++++------ .github/workflows/GnuTests.yml | 2 +- .github/workflows/ignore-intermittent.txt | 2 +- Cargo.toml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/GnuComment.yml b/.github/workflows/GnuComment.yml index 016d6c4..909e2dd 100644 --- a/.github/workflows/GnuComment.yml +++ b/.github/workflows/GnuComment.yml @@ -32,12 +32,12 @@ jobs: var matchArtifact = artifacts.data.artifacts.filter((artifact) => { return artifact.name == "comment" })[0]; - + if (!matchArtifact) { console.log('No comment artifact found'); return; } - + var download = await github.rest.actions.downloadArtifact({ owner: context.repo.owner, repo: context.repo.repo, @@ -54,7 +54,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} script: | var fs = require('fs'); - + // Check if files exist if (!fs.existsSync('./NR')) { console.log('No NR file found, skipping comment'); @@ -64,10 +64,10 @@ jobs: console.log('No result.txt file found, skipping comment'); return; } - + var issue_number = Number(fs.readFileSync('./NR')); var content = fs.readFileSync('./result.txt'); - + if (content.toString().trim().length > 7) { // 7 because we have backquote + \n await github.rest.issues.createComment({ owner: context.repo.owner, @@ -77,4 +77,4 @@ jobs: }); } else { console.log('Comment content too short, skipping'); - } \ No newline at end of file + } diff --git a/.github/workflows/GnuTests.yml b/.github/workflows/GnuTests.yml index 38077e3..2543633 100644 --- a/.github/workflows/GnuTests.yml +++ b/.github/workflows/GnuTests.yml @@ -261,7 +261,7 @@ jobs: echo "ONLY_INTERMITTENT=true" >> $GITHUB_ENV echo "::notice ::No new test failures detected" fi - + - name: Upload comparison log (for GnuComment workflow) if: success() || failure() uses: actions/upload-artifact@v7 diff --git a/.github/workflows/ignore-intermittent.txt b/.github/workflows/ignore-intermittent.txt index 9e812e9..7889f3d 100644 --- a/.github/workflows/ignore-intermittent.txt +++ b/.github/workflows/ignore-intermittent.txt @@ -4,4 +4,4 @@ # Add test names that are known to be flaky or environment-dependent # Example: # basic_substitution -# line_address_test \ No newline at end of file +# line_address_test diff --git a/Cargo.toml b/Cargo.toml index 59e611a..b6518d0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -111,7 +111,7 @@ harness = false lto = true panic = "abort" # should be dropped to 1 for binary size without performance drop -codegen-units = 7 +codegen-units = 7 # A release-like profile that is as small as possible. [profile.release-small]