mirror of
https://github.com/Noratrieb/uwuwind.git
synced 2026-01-14 08:35:09 +01:00
fmt
This commit is contained in:
parent
591da9ff7d
commit
f41be070bb
5 changed files with 5 additions and 9 deletions
|
|
@ -1,3 +1,3 @@
|
||||||
reorder_imports = true
|
reorder_imports = true
|
||||||
imports_granularity = "Module"
|
imports_granularity = "Crate"
|
||||||
wrap_comments = true
|
wrap_comments = true
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,7 @@ mod tests;
|
||||||
|
|
||||||
use core::ffi::CStr;
|
use core::ffi::CStr;
|
||||||
|
|
||||||
use alloc::format;
|
use alloc::{format, string::String};
|
||||||
use alloc::string::String;
|
|
||||||
|
|
||||||
/// The dwarf is invalid. This is fatal and should never happen.
|
/// The dwarf is invalid. This is fatal and should never happen.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,7 @@
|
||||||
|
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
|
|
||||||
use core::ffi;
|
use core::{ffi, sync::atomic::AtomicPtr};
|
||||||
use core::sync::atomic::AtomicPtr;
|
|
||||||
|
|
||||||
// Get the macros into our local prelude.
|
// Get the macros into our local prelude.
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
use core::fmt::Write;
|
use core::{ffi, fmt, fmt::Write};
|
||||||
use core::{ffi, fmt};
|
|
||||||
|
|
||||||
pub struct LibCStdoutWriter;
|
pub struct LibCStdoutWriter;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
//! Test frame pointer walker. Not very good.
|
//! Test frame pointer walker. Not very good.
|
||||||
|
|
||||||
use crate::arch::get_rbp;
|
use crate::{arch::get_rbp, stdext::trace};
|
||||||
use crate::stdext::trace;
|
|
||||||
|
|
||||||
pub(crate) unsafe fn walk() {
|
pub(crate) unsafe fn walk() {
|
||||||
let mut current_rbp = get_rbp().0.cast::<usize>();
|
let mut current_rbp = get_rbp().0.cast::<usize>();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue