Skip to content

Commit d2b3aab

Browse files
committed
Add note about R's segfault handler
1 parent d309686 commit d2b3aab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/ark/src/main.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,8 @@ fn main() {
259259
logger::initialize(log_file.as_deref());
260260

261261
// Register segfault handler to get a backtrace. Should be after
262-
// initialising `log!`.
262+
// initialising `log!`. Note that R will not override this handler
263+
// because we set `R_SignalHandlers` to 0 before startup.
263264
stdext::traps::register_trap_handlers();
264265

265266
// Initialize harp.

0 commit comments

Comments
 (0)