Initial project import

This commit is contained in:
Agila Forge Importer committed 2026-07-13 15:20:32 +00:00
commit 23f2d29e32
11957 files changed
+1754577

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
module os
// this is defined in builtin_windows.c.v in builtin
// fn C.IsDebuggerPresent() bool
// debugger_present returns a bool indicating if the process is being debugged
@[inline]
pub fn debugger_present() bool {
$if windows {
return C.IsDebuggerPresent()
}
return false
}