Skip to content

Commit

Permalink
add default feature to riscv
Browse files Browse the repository at this point in the history
  • Loading branch information
romancardenas committed Jul 18, 2024
1 parent 7c54dab commit 4b800a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions riscv-rt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,6 @@ pub unsafe extern "C" fn start_trap_rust(trap_frame: *const TrapFrame) {
}
}
xcause::Trap::Exception(_) => ExceptionHandler(&*trap_frame),
}
}
}
}

Expand Down
1 change: 1 addition & 0 deletions riscv/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ targets = [
]

[features]
default = ["riscv-pac/default"]
s-mode = []
critical-section-single-hart = ["critical-section/restore-state-bool"]

Expand Down

0 comments on commit 4b800a2

Please sign in to comment.