Remove wasm64 target.

This commit is contained in:
Stephen Chung
2020-06-17 16:49:51 +08:00
parent 84fbcb03b3
commit e095a87ea2
10 changed files with 2 additions and 35 deletions

View File

@@ -25,7 +25,6 @@ use crate::stdlib::{
#[cfg(not(feature = "no_std"))]
#[cfg(not(target_arch = "wasm32"))]
#[cfg(not(target_arch = "wasm64"))]
use crate::stdlib::time::Instant;
/// Trait to represent any type.
@@ -195,7 +194,6 @@ impl Dynamic {
#[cfg(not(feature = "no_std"))]
#[cfg(not(target_arch = "wasm32"))]
#[cfg(not(target_arch = "wasm64"))]
Union::Variant(value) if value.is::<Instant>() => "timestamp",
Union::Variant(value) => (***value).type_name(),
}
@@ -220,7 +218,6 @@ impl fmt::Display for Dynamic {
#[cfg(not(feature = "no_std"))]
#[cfg(not(target_arch = "wasm32"))]
#[cfg(not(target_arch = "wasm64"))]
Union::Variant(value) if value.is::<Instant>() => write!(f, "<timestamp>"),
Union::Variant(_) => write!(f, "?"),
}
@@ -245,7 +242,6 @@ impl fmt::Debug for Dynamic {
#[cfg(not(feature = "no_std"))]
#[cfg(not(target_arch = "wasm32"))]
#[cfg(not(target_arch = "wasm64"))]
Union::Variant(value) if value.is::<Instant>() => write!(f, "<timestamp>"),
Union::Variant(_) => write!(f, "<dynamic>"),
}