Skip to main content

deno_panic/
lib.rs

1pub mod vlq;
2
3#[cfg(all(
4  target_os = "windows",
5  any(target_arch = "x86_64", target_arch = "aarch64")
6))]
7mod win64;
8
9#[cfg(all(
10  target_os = "windows",
11  any(target_arch = "x86_64", target_arch = "aarch64")
12))]
13pub use win64::trace;
14
15#[cfg(all(
16  feature = "frame-pointer",
17  target_os = "linux",
18  any(target_arch = "x86_64", target_arch = "aarch64")
19))]
20mod frame_pointer;
21
22#[cfg(all(
23  feature = "frame-pointer",
24  target_os = "linux",
25  any(target_arch = "x86_64", target_arch = "aarch64")
26))]
27pub use frame_pointer::trace as trace_frame_pointer;
28
29#[cfg(unix)]
30mod libunwind;
31
32#[cfg(unix)]
33pub use libunwind::trace;
34
35#[cfg(feature = "symbolicate")]
36pub mod symbolicate;