1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

os: move pub fn debugger_present() bool{ to platform-specific files (better ptrace portability handling) (#17373)

This commit is contained in:
Felipe Pena
2023-02-21 05:55:03 -03:00
committed by GitHub
parent cd00beb099
commit 82c4338b76
6 changed files with 43 additions and 23 deletions

View File

@ -0,0 +1,7 @@
module os
// debugger_present returns a bool indicating if the process is being debugged
[inline]
pub fn debugger_present() bool {
return false
}