Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Make TargetIsa thread-safe
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary authored and sunfishcode committed Nov 21, 2018
1 parent ede3666 commit c01ee6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/codegen/src/isa/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit c01ee6e

Please sign in to comment.