diff --git a/lib/codegen/src/isa/mod.rs b/lib/codegen/src/isa/mod.rs index f304cf09c3..b4bf97d334 100644 --- a/lib/codegen/src/isa/mod.rs +++ b/lib/codegen/src/isa/mod.rs @@ -196,7 +196,7 @@ impl TargetFrontendConfig { /// Methods that are specialized to a target ISA. Implies a Display trait that shows the /// shared flags, as well as any isa-specific flags. -pub trait TargetIsa: fmt::Display { +pub trait TargetIsa: fmt::Display + Sync { /// Get the name of this ISA. fn name(&self) -> &'static str;