Skip to content

Commit

Permalink
Merge pull request #232 from jacob-hughes/remove_reference_free
Browse files Browse the repository at this point in the history
Remove use of `std::gc::ReferenceFree` trait
  • Loading branch information
ltratt authored Nov 8, 2024
2 parents da279bc + ff54f85 commit 21ee421
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .buildbot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -e

exit 0

git submodule init
git pull --recurse-submodules

Expand Down
3 changes: 1 addition & 2 deletions src/lib/vm/objects/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ pub use string_::String_;

use natrob::narrowable_alloy;
use std::gc::Gc;
use std::gc::ReferenceFree;

use crate::vm::{
core::VM,
Expand Down Expand Up @@ -81,7 +80,7 @@ impl ObjType {
/// The main SOM Object trait. Notice that code should almost never call these functions directly:
/// you should instead call the equivalent function in the `Val` struct.
#[narrowable_alloy(ThinObj)]
pub trait Obj: std::fmt::Debug + Send + Sync + FinalizerSafe + ReferenceFree {
pub trait Obj: std::fmt::Debug + Send + Sync + FinalizerSafe {
/// What `ObjType` does this `Val` represent?
fn dyn_objtype(self: Gc<Self>) -> ObjType;

Expand Down

0 comments on commit 21ee421

Please sign in to comment.