rust-lang / backtrace-rs

Backtraces in Rust
https://docs.rs/backtrace
Other
537 stars 246 forks source link

Explicitly link kernel32.lib #482

Closed ChrisDenton closed 2 years ago

ChrisDenton commented 2 years ago

Currently backtrace depends on something else to link kernel32.lib, which is usually a safe assumption. However, it may become more of a problem once raw-dylib is stable and used by the standard library and other crates.

Using #[link] also allows calling into the function directly instead of going through a jump stub.