Merge remote-tracking branch 'origin/master' into no_std
This commit is contained in:
@@ -68,6 +68,9 @@ pub trait RelocSink {
|
||||
}
|
||||
|
||||
/// A trait for receiving trap codes and offsets.
|
||||
///
|
||||
/// If you don't need information about possible traps, you can use the
|
||||
/// [`NullTrapSink`](binemit/trait.TrapSink.html) implementation.
|
||||
pub trait TrapSink {
|
||||
/// Add trap information for a specific offset.
|
||||
fn trap(&mut self, CodeOffset, SourceLoc, TrapCode);
|
||||
|
||||
Reference in New Issue
Block a user