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

Commit c01ee6e

Browse files
syrusakbarysunfishcode
authored andcommitted
Make TargetIsa thread-safe
1 parent ede3666 commit c01ee6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/codegen/src/isa/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ impl TargetFrontendConfig {
196196

197197
/// Methods that are specialized to a target ISA. Implies a Display trait that shows the
198198
/// shared flags, as well as any isa-specific flags.
199-
pub trait TargetIsa: fmt::Display {
199+
pub trait TargetIsa: fmt::Display + Sync {
200200
/// Get the name of this ISA.
201201
fn name(&self) -> &'static str;
202202

0 commit comments

Comments
 (0)