Skip to content

Commit 33c9393

Browse files
committed
1 parent 5362db8 commit 33c9393

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

vm/src/value.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,11 @@ mod gc_str {
350350
#[derive(Copy, Clone, PartialEq)]
351351
pub struct GcStr(GcPtr<ValueArray>);
352352

353+
// Needed due to https://github.com/rust-lang/rust/pull/60444, unsure if that is due to a bug
354+
// or not
355+
unsafe impl Send for GcStr {}
356+
unsafe impl Sync for GcStr {}
357+
353358
impl fmt::Debug for GcStr {
354359
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
355360
f.debug_tuple("GcStr").field(&&**self).finish()

0 commit comments

Comments
 (0)