mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03: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
2 changed files with 1 additions and 8 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue