Make TargetIsa thread-safe
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user