Skip to content

Commit

Permalink
Merge pull request #231 from jacob-hughes/rename_finalizer_optional
Browse files Browse the repository at this point in the history
Rename FinalizerOptional trait
  • Loading branch information
ltratt authored Oct 23, 2024
2 parents fc7c7c1 + f47421d commit 9ae4479
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .buildbot.config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ extended = false

[llvm]
assertions = true # Turn on assertions in LLVM.
download-ci-llvm = false

[install]
prefix = "build/rustc_boehm"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/vm/objects/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub struct Inst {
inst_vars: SyncUnsafeCell<Vec<Val>>,
}

unsafe impl std::gc::FinalizerOptional for Inst {}
unsafe impl std::gc::DropMethodFinalizerElidable for Inst {}

impl Obj for Inst {
fn dyn_objtype(self: Gc<Self>) -> ObjType {
Expand Down

0 comments on commit 9ae4479

Please sign in to comment.