forked from M-Labs/libfringe
implement Debug for all components of Context
This commit is contained in:
parent
519d86ca4c
commit
7adb9e7381
@ -7,6 +7,8 @@ use super::common::{push, rust_trampoline};
|
||||
|
||||
pub const STACK_ALIGN: usize = 16;
|
||||
|
||||
#[allow(raw_pointer_derive)]
|
||||
#[derive(Debug)]
|
||||
pub struct Registers {
|
||||
rsp: *mut usize
|
||||
}
|
||||
|
@ -6,6 +6,7 @@ use arch::Registers;
|
||||
use stack;
|
||||
use debug::StackId;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Context<'a, Stack: stack::Stack> {
|
||||
regs: Registers,
|
||||
_stack_id: StackId,
|
||||
|
@ -5,6 +5,7 @@ use stack;
|
||||
|
||||
mod valgrind;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct StackId(valgrind::stack_id_t);
|
||||
|
||||
impl StackId {
|
||||
|
Loading…
Reference in New Issue
Block a user