Skip to content

Commit

Permalink
fixup! fixup! refactor(bench)!: move benchmarking facilities to their…
Browse files Browse the repository at this point in the history
… own crate
  • Loading branch information
ROMemories committed Mar 26, 2024
1 parent 4f24136 commit 0cfdb4b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/riot-rs-bench/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ cfg_if::cfg_if! {
if #[cfg(context = "cortex-m")] {
mod cortexm;
use cortexm as bench;
}
else if #[cfg(context = "riot-rs")] {
// When run with laze but the architecture is not supported
compile_error!("benchmarking is not supported for this architecture");
} else {
// Provide a default bench module, for arch-independent tooling
mod bench {
Expand Down

0 comments on commit 0cfdb4b

Please sign in to comment.