Skip to content

build: bump ctutils - #49187

Merged
jschwe merged 1 commit into
servo:mainfrom
janeoa:denyfixtest1
Oct 23, 2026
Merged

jschwe merged 1 commit into
servo:mainfrom
janeoa:denyfixtest1

Conversation

@janeoa

@janeoa janeoa commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Current main seem to

  | /home/jane/dev/servo/deny.toml:169: Non-constant-time mask generation and `u128` comparisons: ctutils 0.4.3 registry+https://github.com/rust-lang/crates.io-index

so I did

cargo update -p ctutils --precise 0.4.4

and it updated a sole dependency
after update, the error is gone

Fixes RUSTSEC-2026-0385

Checked for no PRs addressing it yet

Testing: ./mach test-tidy

Signed-off-by: Asset Malik <[email protected]>
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 23, 2026
@janeoa janeoa changed the title Bump ctutils build: bump ctutils Oct 23, 2026

@jschwe jschwe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Oct 23, 2026
@jschwe
jschwe added this pull request to the merge queue Oct 23, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Oct 23, 2026
Merged via the queue into servo:main with commit 7615ccf Oct 23, 2026
42 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Oct 23, 2026
@janeoa
janeoa deleted the denyfixtest1 branch October 26, 2026 09:23
jschwe pushed a commit to openharmony-rs/servo-ohos that referenced this pull request Oct 28, 2026
Current main seem to
```
  | /home/jane/dev/servo/deny.toml:169: Non-constant-time mask generation and `u128` comparisons: ctutils 0.4.3 registry+https://github.com/rust-lang/crates.io-index
```

so I did
```
cargo update -p ctutils --precise 0.4.4
```

and it updated a sole dependency
after update, the error is gone

Fixes
[RUSTSEC-2026-0385](https://rustsec.org/advisories/RUSTSEC-2026-0385.html)

Checked for no PRs addressing it yet

Testing: `./mach test-tidy`

Signed-off-by: Asset Malik <[email protected]>
(cherry picked from commit 7615ccf)

----

Fork note: backport of upstream 7615ccf (servo#49187), which landed after
base/2026-10-22. RustSec published RUSTSEC-2026-0385 for ctutils 0.4.3,
so `cargo-deny` in `./mach test-tidy` failed on ohos-main. The next
commit, the backport of e78fc91, moves ctutils on to 0.4.5, as
upstream did.
Drop at the next sync: every later base contains 7615ccf, so this
commit applies empty and becomes a `Superseded-by: 7615ccf`
placeholder (runbook decision 3).

Validation: `./mach test-tidy` on ohos-main bf7c1c7 fails in `cargo-deny` with RUSTSEC-2026-0387 (crypto-bigint 0.7.5) and RUSTSEC-2026-0385 (ctutils 0.4.3), as the Lint job of every pull request would; with both backports it passes, and `cargo-deny check` reports advisories, bans, licenses and sources ok. Same patch-id as upstream (`git patch-id --stable`). With both, on top of patch 130: `./mach clippy --locked -- -- --deny warnings`, `RUSTFLAGS="-D warnings" ./mach build --use-crown --locked --profile checked-release`, the same build with `--ohos` (the Rust part; packaging then stops at the local signing configuration), and `./mach test-unit --profile checked-release` (1,255 tests) and `--doc` (46) pass.
AI-assisted: Yes (agent session; the agent cherry-picked upstream commit 7615ccf without changes and added the fork-style part of this message below the dashed line: fork note, Validation and these trailers)
Signed-off-by: Jonathan Schwender <[email protected]>
jschwe pushed a commit to openharmony-rs/servo-ohos that referenced this pull request Oct 30, 2026
Dropped in favour of upstream 7615ccf (servo#49187), which this commit
backported and which every base from base/2026-10-29 on contains.
Equivalence: `git show <commit> | git patch-id --stable` gives the same
patch-id for this commit and 7615ccf. On base/2026-10-29 it
conflicts in Cargo.lock only because upstream has since moved ctutils
on to 0.4.5; with upstream's side it applies empty. Verified by the sync
of 2026-10-29.

This empty placeholder is removed in the next sync's fold step.

Superseded-by: 7615ccf
Validation: patch-id identity with 7615ccf (`git patch-id --stable`); applies empty on base/2026-10-29 with upstream's Cargo.lock, which has ctutils 0.4.5.
AI-assisted: Yes (agent session; 2026-10-29 sync -- upstream 7615ccf is the identical patch and upstream moved ctutils further since; kept as an empty placeholder)
Signed-off-by: Jonathan Schwender <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants