Fixes #13: Enable conditional compilation of ISAs through features;
This commit is contained in:
committed by
Dan Gohman
parent
049f067168
commit
a45b814de8
@@ -44,6 +44,7 @@ impl Isa {
|
||||
}
|
||||
|
||||
impl fmt::Display for Isa {
|
||||
// These names should be kept in sync with the crate features.
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
match *self {
|
||||
Isa::Riscv => write!(f, "riscv"),
|
||||
|
||||
Reference in New Issue
Block a user