Skip to content

Commit

Permalink
inline merge, necessary because it is monomorphic
Browse files Browse the repository at this point in the history
  • Loading branch information
joonazan committed Oct 29, 2024
1 parent fe6133a commit fd27994
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/vm2-interface/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ impl ExecutionStatus {
/// Combines [`ExecutionStatus`] values from two sources, choosing the most severe one.
/// So if one tracer wants to suspend but the other wants to panic, the VM will panic.
#[must_use]
#[inline(always)]
pub fn merge(self, other: Self) -> Self {
use ExecutionStatus::{Running, Stopped};
match (self, other) {
Expand Down

0 comments on commit fd27994

Please sign in to comment.