Skip to content

Commit 81b688a

Browse files
committed
not safe
1 parent 5ab6aef commit 81b688a

File tree

1 file changed

+2
-2
lines changed
  • crates/byondapi-macros/src

1 file changed

+2
-2
lines changed

crates/byondapi-macros/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ pub fn bind(attr: TokenStream, item: TokenStream) -> TokenStream {
173173
}
174174
} else {
175175
quote! {
176-
::byondapi::runtime::byond_runtime(error_string)
176+
unsafe { ::byondapi::runtime::byond_runtime(error_string) }
177177
}
178178
};
179179

@@ -329,7 +329,7 @@ pub fn bind_raw_args(attr: TokenStream, item: TokenStream) -> TokenStream {
329329
}
330330
} else {
331331
quote! {
332-
::byondapi::runtime::byond_runtime(error_string)
332+
unsafe { ::byondapi::runtime::byond_runtime(error_string) }
333333
}
334334
};
335335

0 commit comments

Comments
 (0)