Skip to content

Commit b00cd1a

Browse files
chore(deps): Bump ctor from 0.8.0 to 0.10.0 (#534)
* chore(deps): Bump ctor from 0.8.0 to 0.10.0 Bumps [ctor](https://github.com/mmastrac/rust-ctor) from 0.8.0 to 0.10.0. - [Commits](https://github.com/mmastrac/rust-ctor/commits) --- updated-dependencies: - dependency-name: ctor dependency-version: 0.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Mark ctor/dtor as unsafe --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
1 parent e67c19d commit b00cd1a

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Cargo.lock

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

avro_test_helper/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ readme = "README.md"
3131

3232
[dependencies]
3333
better-panic = { default-features = false, version = "0.3.0" }
34-
ctor = { default-features = false, version = "0.8.0", features = ["dtor", "proc_macro"] }
34+
ctor = { default-features = false, version = "0.10.0", features = ["dtor", "proc_macro"] }
3535
env_logger = { default-features = false, version = "0.11.10" }
3636
log = { workspace = true }
3737

avro_test_helper/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ thread_local! {
3232
}
3333

3434
#[cfg(not(target_arch = "wasm32"))]
35-
#[ctor]
35+
#[ctor(unsafe)]
3636
fn before_all() {
3737
// better stacktraces in tests
3838
better_panic::Settings::new()
@@ -46,7 +46,7 @@ fn before_all() {
4646
}
4747

4848
#[cfg(not(target_arch = "wasm32"))]
49-
#[dtor]
49+
#[dtor(unsafe)]
5050
fn after_all() {
5151
logger::clear_log_messages();
5252
}

0 commit comments

Comments
 (0)