Revert "update size asserts"

This reverts commit 9973d4b8d2.
This commit is contained in:
Folkert 2023-04-21 12:15:19 +02:00
parent 7af408f58d
commit 394495d307
9 changed files with 14 additions and 52 deletions

View file

@ -1234,8 +1234,7 @@ fn run_wasm<I: Iterator<Item = S>, S: AsRef<[u8]>>(_wasm_path: &std::path::Path,
println!("Running wasm files is not supported on this target.");
}
#[derive(Debug, Copy, Clone, EnumIter, IntoStaticStr, PartialEq, Eq)]
#[derive(Default)]
#[derive(Debug, Copy, Clone, EnumIter, IntoStaticStr, PartialEq, Eq, Default)]
pub enum Target {
#[strum(serialize = "system")]
#[default]
@ -1250,8 +1249,6 @@ pub enum Target {
Wasm32,
}
impl Target {
pub fn to_triple(self) -> Triple {
use Target::*;