Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions nix-bindings-expr/src/eval_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,8 @@ impl Clone for EvalState {
}
}

unsafe impl Send for EvalState { }

/// Initialize the Nix library for testing. This includes some modifications to the Nix settings, that must not be used in production.
/// Use at your own peril, in rust test suites.
#[doc(alias = "test_initialize")]
Expand Down
2 changes: 2 additions & 0 deletions nix-bindings-expr/src/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,6 @@ impl Clone for Value {
}
}

unsafe impl Send for Value { }

// Tested in eval_state.rs