Skip to content

Commit ca48925

Browse files
authored
Merge pull request #1473 from xinchengxx/main
Fix unsafe_op_in_unsafe_fn warning for unsafe operations in generated module
2 parents 2472415 + 097e1e7 commit ca48925

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

engine/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,7 @@ impl IncludeCppEngine {
519519
#[allow(dead_code)]
520520
#[allow(non_upper_case_globals)]
521521
#[allow(non_camel_case_types)]
522+
#[allow(unsafe_op_in_unsafe_fn)]
522523
#[doc = "Generated using autocxx - do not edit directly"]
523524
#[doc = "@generated"]
524525
mod #mod_name {

0 commit comments

Comments
 (0)