Make tag i32 on 64-bit targets.
This commit is contained in:
parent
3116a39331
commit
70f09d1c84
@ -141,6 +141,11 @@ pub enum AccessMode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Arbitrary data attached to a [`Dynamic`] value.
|
/// 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;
|
pub type Tag = i16;
|
||||||
|
|
||||||
/// Default tag value for [`Dynamic`].
|
/// Default tag value for [`Dynamic`].
|
||||||
|
Loading…
Reference in New Issue
Block a user