v.trace_calls: now musl has gettid(), there is no need for the shim on newer Alpine etc (#24245)

This commit is contained in:
Mike 2025-04-16 17:33:25 +03:00 committed by GitHub
parent 385ae6cc3c
commit 1b657fadb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 8 deletions

View File

@ -1,3 +1,4 @@
// vtest build: !(os_id_ubuntu? && musl?)
import os import os
const vexe = @VEXE const vexe = @VEXE

View File

@ -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
}