From 69912ff566bd3f25498a87b70f326650d95f97ba Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jun 2026 11:43:20 +0000 Subject: [PATCH] ci: Bump ctor from 0.12.0 to 1.0.7 Bumps [ctor](https://github.com/mmastrac/linktime) from 0.12.0 to 1.0.7. - [Release notes](https://github.com/mmastrac/linktime/releases) - [Changelog](https://github.com/mmastrac/linktime/blob/master/CHANGELOG.md) - [Commits](https://github.com/mmastrac/linktime/commits/ctor-1.0.7) --- updated-dependencies: - dependency-name: ctor dependency-version: 1.0.7 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Signed-off-by: Changyuan Lyu --- Cargo.lock | 12 ++++++------ Cargo.toml | 2 +- alioth-cli/src/main.rs | 2 +- alioth/src/lib.rs | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 60af4176..29aa13c7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -255,9 +255,9 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "ctor" -version = "0.12.0" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8f521dd9c9e5f03986eb5c674b14b21e9ccf2eb9f98fecb681100214d5e9e4f" +checksum = "01334b89b69ff726750c5ce5073fc8bd860e99aa9a8fc5ca11b04730e3aee97a" dependencies = [ "link-section", "linktime-proc-macro", @@ -486,15 +486,15 @@ checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66" [[package]] name = "link-section" -version = "0.12.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0567ec9fe5ffdf9241cd90a7629f250a5f903d6ff4573cf7903308662d6fce40" +checksum = "014e440054ce8170890229eeef5bcda955305e056ec713de40ed366944483f09" [[package]] name = "linktime-proc-macro" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44cd706ff0d503ee32b2071166510ca27e281228de10cd3aa8d35ff94560f81" +checksum = "8c7b0a3383c2a1002d11349c92c85a666a5fb679e96c79d782cf0dbe557fd6ee" [[package]] name = "linux-raw-sys" diff --git a/Cargo.toml b/Cargo.toml index d0eb1569..132c7ba2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ license = "Apache-2.0" alioth = { path = "alioth", version = "0.12.0" } alioth-macros = { path = "alioth-macros", version = "0.12.0" } assert_matches = "1" -ctor = "0.12" +ctor = "1.0" flexi_logger = "0.31" flume = "0.12.0" parking_lot = { version = "0.12", features = ["hardware-lock-elision"] } diff --git a/alioth-cli/src/main.rs b/alioth-cli/src/main.rs index ff30f9ea..4f27d2c7 100644 --- a/alioth-cli/src/main.rs +++ b/alioth-cli/src/main.rs @@ -89,7 +89,7 @@ fn main() -> Result<(), Box> { } #[cfg(test)] -#[ctor::ctor] +#[ctor::ctor(unsafe)] fn global_setup() { flexi_logger::init(); } diff --git a/alioth/src/lib.rs b/alioth/src/lib.rs index 5e393c5e..c479e951 100644 --- a/alioth/src/lib.rs +++ b/alioth/src/lib.rs @@ -50,7 +50,7 @@ pub mod virtio; pub mod vm; #[cfg(test)] -#[ctor::ctor] +#[ctor::ctor(unsafe)] fn global_setup() { flexi_logger::init(); }