Make tag i32 on 64-bit targets.
This commit is contained in:
@@ -141,6 +141,11 @@ pub enum AccessMode {
|
||||
}
|
||||
|
||||
/// Arbitrary data attached to a [`Dynamic`] value.
|
||||
#[cfg(target_pointer_width = "64")]
|
||||
pub type Tag = i32;
|
||||
|
||||
/// Arbitrary data attached to a [`Dynamic`] value.
|
||||
#[cfg(target_pointer_width = "32")]
|
||||
pub type Tag = i16;
|
||||
|
||||
/// Default tag value for [`Dynamic`].
|
||||
|
Reference in New Issue
Block a user