mirror of
https://github.com/vlang/v.git
synced 2025-08-04 02:07:28 -04:00
v.trace_calls: now musl has gettid(), there is no need for the shim on newer Alpine etc (#24245)
This commit is contained in:
parent
385ae6cc3c
commit
1b657fadb6
@ -1,3 +1,4 @@
|
|||||||
|
// vtest build: !(os_id_ubuntu? && musl?)
|
||||||
import os
|
import os
|
||||||
|
|
||||||
const vexe = @VEXE
|
const vexe = @VEXE
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
module trace_calls
|
|
||||||
|
|
||||||
// gettid is missing on musl/alpine, but present on most everything else
|
|
||||||
@[export: 'gettid']
|
|
||||||
@[weak]
|
|
||||||
fn vgettid() &u32 {
|
|
||||||
return 0
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user