From 65a0d1192e5eedd99158521ad172ecbba33a8533 Mon Sep 17 00:00:00 2001 From: Danielhu Date: Tue, 8 Mar 2022 16:07:44 +0800 Subject: [PATCH] add Clone, Copy and PartialEq for enum TargetISA --- compile/src/opt.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compile/src/opt.rs b/compile/src/opt.rs index ef93d273d..1556568cc 100644 --- a/compile/src/opt.rs +++ b/compile/src/opt.rs @@ -155,6 +155,7 @@ impl ToString for OptimizationOpt { /// Target instruction sets and vector widths available to specialize for. The /// default if none is set will be the host CPU's ISA and vector width. +#[derive(Clone, Copy, PartialEq)] pub enum TargetISA { Host, SSE2i32x4,