Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement tracing Gc with rust-gc #45

Merged
merged 22 commits into from
Jul 4, 2021
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: fix gc import
Signed-off-by: Yaroslav Bolyukin <[email protected]>
CertainLach committed Jul 4, 2021

Verified

This commit was signed with the committer’s verified signature.
CertainLach Yaroslav Bolyukin
commit cda8521c5b929086bf597c884a2840e0f94bc4ab
4 changes: 2 additions & 2 deletions crates/jrsonnet-evaluator/src/lib.rs
Original file line number Diff line number Diff line change
@@ -491,7 +491,7 @@ pub mod tests {
use crate::{
error::Error::*, native::NativeCallbackHandler, primitive_equals, EvaluationState,
};
use gc::Gc;
use jrsonnet_gc::{Finalize, Gc, Trace};
use jrsonnet_interner::IStr;
use jrsonnet_parser::*;
use std::{
@@ -924,7 +924,7 @@ pub mod tests {

evaluator.with_stdlib();

#[derive(gc::Trace, gc::Finalize)]
#[derive(Trace, Finalize)]
struct NativeAdd;
impl NativeCallbackHandler for NativeAdd {
fn call(&self, from: Option<Rc<Path>>, args: &[Val]) -> crate::error::Result<Val> {