backtrace-rs
backtrace-rs copied to clipboard
Backtraces in Rust
We do valgrind checks on this repo and we're getting this: https://github.com/fzyzcjy/flutter_rust_bridge/pull/582#issuecomment-1207237333 which only happens when we use this backtrace lib. Is it possible that this lib has a memory...
I'm not sure this is a backtrace specific thing, but might be worth bringing it up here nonetheless. https://github.com/rust-lang/cargo/issues/4490#issuecomment-1205611137
The build.rs script will use the C preprocessor to pull the API level out of C headers by default. But for build systems that wish to control each build step,...
This was effectively Alex Crichton's policy, so this reflects only the decision to formalize a policy.
Been getting issues like this: ``` = note: /usr/bin/ld: /checkout/target/x86_64-unknown-linux-musl/debug/deps/accuracy-55902b35759f3f28.1uouxsj60aaj9p4p.rcgu.o: in function `libloading::os::unix::Library::open::{{closure}}': /cargo/registry/src/index.crates.io-6f17d22bba15001f/libloading-0.7.4/src/os/unix/mod.rs:173: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc...
I reproduced this with a minimal `#![no_std]` executable that does nothing but return an exit code: ### main.rs ```rust #![no_std] #![no_main] #[no_mangle] fn main() -> i32 { 42 } #[panic_handler]...
This is the result of running `clippy::uninlined_format_args` lint. Currently the lint is in `pedantic`, but there are plans/hopes to move it to `style`. How can I add this specific lint...
Hello, Resolving backtrace (at least for the first time) is very slow, but this is not something that can be solved (I guess). However, not all frames are equally useful,...
[From rust's std](https://github.com/rust-lang/rust/blob/864bdf7843e1ceabc824ed86d97006acad6af643/library/std/src/backtrace.rs#L344-L346): > If no frames came out assume that this is an unsupported platform since `backtrace` doesn't provide a way of learning this right now This seems like...
The advantage of dbghelp.dll is that it can nearly always be found on any Windows system. However, the major disadvantage is it's [ridiculously single threaded](https://learn.microsoft.com/en-us/windows/win32/debug/about-dbghelp): > Note that all [DbgHelp...