const sys_can_stack_trace: type = switch (builtin.cpu.arch) { // Observed to go into an infinite loop. // TODO: Make this work. .mips, .mipsel, => false, // `@returnAddress()` in LLVM 10 gives // "Non-Emscripten WebAssembly hasn't implemented __builtin_return_address". .wasm32, .wasm64, => builtin.os.tag == .emscripten, // `@returnAddress()` is unsupported in LLVM 13. .bpfel, .bpfeb, => false, else => true, };
[src]