builtin: fix a mutable var on windows
parent
632e27a4a9
commit
d2675b89c0
|
@ -215,7 +215,7 @@ fn C.__debugbreak()
|
||||||
fn break_if_debugger_attached() {
|
fn break_if_debugger_attached() {
|
||||||
$if tinyc {
|
$if tinyc {
|
||||||
unsafe {
|
unsafe {
|
||||||
ptr := &voidptr(0)
|
mut ptr := &voidptr(0)
|
||||||
*ptr = 0
|
*ptr = 0
|
||||||
}
|
}
|
||||||
} $else {
|
} $else {
|
||||||
|
|
Loading…
Reference in New Issue