Skip to content

Commit 558c034

Browse files
authored
os: add note for the availability of the debugger_present implementation (#24492)
1 parent 029564b commit 558c034

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎vlib/os/debugger_default.c.v‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module os
22

33
// debugger_present returns a bool indicating if the process is being debugged
4+
// Note: implementation available only on Darwin, FreeBSD, Linux, OpenBSD and
5+
// Windows. Otherwise, returns false.
46
@[inline]
57
pub fn debugger_present() bool {
68
return false

0 commit comments

Comments
 (0)