You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by mg...@apache.org on 2026/05/07 10:05:14 UTC

(datafusion-ballista) branch main updated: chore(deps): bump ctor from 0.12.0 to 1.0.2 (#1663)

This is an automated email from the ASF dual-hosted git repository.

martin-g pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-ballista.git


The following commit(s) were added to refs/heads/main by this push:
     new a2cf68ee5 chore(deps): bump ctor from 0.12.0 to 1.0.2 (#1663)
a2cf68ee5 is described below

commit a2cf68ee5cf12c1cf121aa7ebfa17fb00b0aff45
Author: dependabot[bot] <49...@users.noreply.github.com>
AuthorDate: Thu May 7 13:05:10 2026 +0300

    chore(deps): bump ctor from 0.12.0 to 1.0.2 (#1663)
    
    * chore(deps): bump ctor from 0.12.0 to 1.0.2
    
    Bumps [ctor](https://github.com/mmastrac/linktime) from 0.12.0 to 1.0.2.
    - [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.2)
    
    ---
    updated-dependencies:
    - dependency-name: ctor
      dependency-version: 1.0.2
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <su...@github.com>
    
    * Mark ctor usage as unsafe
    
    ---------
    
    Signed-off-by: dependabot[bot] <su...@github.com>
    Co-authored-by: dependabot[bot] <49...@users.noreply.github.com>
    Co-authored-by: Martin Tzvetanov Grigorov <mg...@apache.org>
---
 Cargo.lock                          | 8 ++++----
 Cargo.toml                          | 2 +-
 ballista/client/tests/common/mod.rs | 2 +-
 examples/tests/common/mod.rs        | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 0fd47acf8..f4778a0a3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1950,9 +1950,9 @@ dependencies = [
 
 [[package]]
 name = "ctor"
-version = "0.12.0"
+version = "1.0.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b8f521dd9c9e5f03986eb5c674b14b21e9ccf2eb9f98fecb681100214d5e9e4f"
+checksum = "5449af32ecd0738fb1be3f9faa3c10da8509044fed757aaa2bc1c16f9a74e0c5"
 dependencies = [
  "link-section",
  "linktime-proc-macro",
@@ -4266,9 +4266,9 @@ dependencies = [
 
 [[package]]
 name = "link-section"
-version = "0.12.0"
+version = "0.15.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0567ec9fe5ffdf9241cd90a7629f250a5f903d6ff4573cf7903308662d6fce40"
+checksum = "4641b91711debb59c61b07eb5e30521ed6d9e2bdd9fd04f934e7da3a5bc386d4"
 
 [[package]]
 name = "linktime-proc-macro"
diff --git a/Cargo.toml b/Cargo.toml
index 36a3808fd..1c261070a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -51,7 +51,7 @@ tonic-prost-build = { version = "0.14" }
 tracing = "0.1"
 tracing-appender = "0.2.2"
 tracing-subscriber = { version = "0.3", features = ["env-filter"] }
-ctor = { version = "0.12" }
+ctor = { version = "1.0" }
 mimalloc = { version = "0.1" }
 
 tokio = { version = "1" }
diff --git a/ballista/client/tests/common/mod.rs b/ballista/client/tests/common/mod.rs
index 9d940be6f..93a2214a2 100644
--- a/ballista/client/tests/common/mod.rs
+++ b/ballista/client/tests/common/mod.rs
@@ -257,7 +257,7 @@ pub async fn remote_context_with_state() -> SessionContext {
         .unwrap()
 }
 
-#[ctor::ctor]
+#[ctor::ctor(unsafe)]
 fn init() {
     // Enable RUST_LOG logging configuration for test
     let _ = env_logger::builder()
diff --git a/examples/tests/common/mod.rs b/examples/tests/common/mod.rs
index 2c2f65ca2..76c987acf 100644
--- a/examples/tests/common/mod.rs
+++ b/examples/tests/common/mod.rs
@@ -163,7 +163,7 @@ async fn connect_to_scheduler(
     }
 }
 
-#[ctor::ctor]
+#[ctor::ctor(unsafe)]
 fn init() {
     // Enable RUST_LOG logging configuration for test
     let _ = env_logger::builder()


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org