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
|
||||
imports_granularity = "Module"
|
||||
imports_granularity = "Crate"
|
||||
wrap_comments = true
|
||||
|
|
|
|||
|
|
@ -29,8 +29,7 @@ mod tests;
|
|||
|
||||
use core::ffi::CStr;
|
||||
|
||||
use alloc::format;
|
||||
use alloc::string::String;
|
||||
use alloc::{format, string::String};
|
||||
|
||||
/// The dwarf is invalid. This is fatal and should never happen.
|
||||
#[derive(Debug)]
|
||||
|
|
|
|||
|
|
@ -3,8 +3,7 @@
|
|||
|
||||
extern crate alloc;
|
||||
|
||||
use core::ffi;
|
||||
use core::sync::atomic::AtomicPtr;
|
||||
use core::{ffi, sync::atomic::AtomicPtr};
|
||||
|
||||
// Get the macros into our local prelude.
|
||||
#[macro_use]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
use core::fmt::Write;
|
||||
use core::{ffi, fmt};
|
||||
use core::{ffi, fmt, fmt::Write};
|
||||
|
||||
pub struct LibCStdoutWriter;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
//! Test frame pointer walker. Not very good.
|
||||
|
||||
use crate::arch::get_rbp;
|
||||
use crate::stdext::trace;
|
||||
use crate::{arch::get_rbp, stdext::trace};
|
||||
|
||||
pub(crate) unsafe fn walk() {
|
||||
let mut current_rbp = get_rbp().0.cast::<usize>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue