Skip to content

Commit 4da1043

Browse files
committed
igvm: Relax unsafe_code restriction
Currently unsafe_code is forbidden for igvm code. In order to add a C compatible API we will need to accept and work with raw C pointers to data. This requires a relaxing of the unsafe rule from 'forbid' to 'deny' allowing the C API feature, when enabled, to override the setting. Signed-off-by: Roy Hopkins <rhopkins@suse.de>
1 parent b1e8149 commit 4da1043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

igvm/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//! that this parser may not implement all the specified structure types or
1010
//! semantics defined in the IGVM file format.
1111
12-
#![forbid(unsafe_code)]
12+
#![deny(unsafe_code)]
1313

1414
use hv_defs::HvArm64RegisterName;
1515
use hv_defs::HvX64RegisterName;

0 commit comments

Comments
 (0)