Skip to content

Commit 83affb2

Browse files
authored
chore(deps): Update Rust crate ctor to 0.12.0 (#185)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [ctor](https://redirect.github.com/mmastrac/rust-ctor) | dependencies | minor | `0.8.0` → `0.12.0` | --- ### Release Notes <details> <summary>mmastrac/rust-ctor (ctor)</summary> ### [`v0.12.0`](https://redirect.github.com/mmastrac/rust-ctor/blob/HEAD/CHANGELOG.md#ctor-0120---2026-04-30) ##### Added - Support for `#[ctor]` on `impl` items. To be valid, the `fn` must have no `self` parameter and must not access any generic parameters from the outer item. - Added `life before main` documentation to all crates. - `early` and `late` priority values are now supported on all platforms. ##### Removed - deprecated `dtor` feature and crate dependency from `ctor` crate (use the `dtor` crate directly). ##### Fixed - AIX uses "standard" priority values from 0 to 999, early and late (mapped to [`8000000`](https://redirect.github.com/mmastrac/rust-ctor/commit/80000000) to [`8000099`](https://redirect.github.com/mmastrac/rust-ctor/commit/80000999)). ##### Changed - If the `priority` feature is enabled, `ctor` priority sorting is now stable and consistent across platforms: `early`/`0`/`unspecified`, then `1 <= N < 1000`, then `late`. - If a `link_section` or `export_name_prefix` is specified, a `priority` value must not be specified (now a compiler error). - Migrated to using the `linktime-proc-macro` crate for proc-macro support. ### [`v0.11.1`](https://redirect.github.com/mmastrac/rust-ctor/blob/HEAD/CHANGELOG.md#ctor-0111---2026-04-28) ##### Changed - Deprecated \`\`dtor`macros in favor of`dtor\` crate. - Migrated to using the `linktime-proc-macro` crate for proc-macro support. ##### Fixed - Fixed some stray `dtor` references in ctor docs. ### [`v0.11.0`](https://redirect.github.com/mmastrac/rust-ctor/blob/HEAD/CHANGELOG.md#ctor-0110---2026-04-28) #### ctor \[0.11.0] - 2026-04-28 ### [`v0.10.1`](https://redirect.github.com/mmastrac/rust-ctor/blob/HEAD/CHANGELOG.md#ctor-0101---2026-04-22) #### ctor \[0.10.1] - 2026-04-22 </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - "before 5am on the first day of the month" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/assert-rs/libtest2). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTkuMiIsInVwZGF0ZWRJblZlciI6IjQzLjE1OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
2 parents 3b17c95 + 96a648d commit 83affb2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/distributed_list/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pre-release-replacements = [
2727
default = []
2828

2929
[dependencies]
30-
ctor = { version = "0.8.0", default-features = false, features = [] }
30+
ctor = { version = "0.12.0", default-features = false, features = [] }
3131

3232
[dev-dependencies]
3333

0 commit comments

Comments
 (0)