Skip to content

chore(deps): bump ctor 0.6 -> 1.0#106

Merged
swlynch99 merged 1 commit into
mainfrom
claude/bump-ctor-1.0
Jun 9, 2026
Merged

chore(deps): bump ctor 0.6 -> 1.0#106
swlynch99 merged 1 commit into
mainfrom
claude/bump-ctor-1.0

Conversation

@swlynch99

Copy link
Copy Markdown
Contributor

What

Bumps ctor 0.6.3 → 1.0 in durable-test.

ctor 1.0 now requires constructor functions to be explicitly marked unsafe — they run before main(), outside the normal Rust runtime, so the macro enforces an explicit acknowledgement. The single usage is updated per the compiler's instruction:

-#[ctor::ctor]
+#[ctor::ctor(unsafe)]
 fn setup_tracing() { ... }

This is test-harness-only setup (initializes the tracing subscriber); no production code path is affected.

Verification

cargo check -p durable-test --all-features --locked

https://claude.ai/code/session_01KN3PaeQ1pFq1B3uReMqHjp


Generated by Claude Code

ctor 1.0 requires constructor functions to be explicitly marked unsafe,
since they run before main() outside the normal Rust runtime. Update the
single `#[ctor::ctor]` usage to `#[ctor::ctor(unsafe)]` as instructed by
the new compile-time error.

https://claude.ai/code/session_01KN3PaeQ1pFq1B3uReMqHjp
@swlynch99 swlynch99 merged commit 3b92db8 into main Jun 9, 2026
7 checks passed
@swlynch99 swlynch99 deleted the claude/bump-ctor-1.0 branch June 9, 2026 23:52
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.

2 participants