Add unsafe to ffi_pure and ffi_const
This commit is contained in:
@@ -535,11 +535,11 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
|
|||||||
),
|
),
|
||||||
|
|
||||||
gated!(
|
gated!(
|
||||||
ffi_pure, Normal, template!(Word), WarnFollowing,
|
unsafe ffi_pure, Normal, template!(Word), WarnFollowing,
|
||||||
EncodeCrossCrate::No, experimental!(ffi_pure)
|
EncodeCrossCrate::No, experimental!(ffi_pure)
|
||||||
),
|
),
|
||||||
gated!(
|
gated!(
|
||||||
ffi_const, Normal, template!(Word), WarnFollowing,
|
unsafe ffi_const, Normal, template!(Word), WarnFollowing,
|
||||||
EncodeCrossCrate::No, experimental!(ffi_const)
|
EncodeCrossCrate::No, experimental!(ffi_const)
|
||||||
),
|
),
|
||||||
gated!(
|
gated!(
|
||||||
|
|||||||
Reference in New Issue
Block a user