From 1b657fadb697ee81c3032b1ccdfaa701a5a57ef5 Mon Sep 17 00:00:00 2001 From: Mike <45243121+tankf33der@users.noreply.github.com> Date: Wed, 16 Apr 2025 17:33:25 +0300 Subject: [PATCH] v.trace_calls: now musl has gettid(), there is no need for the shim on newer Alpine etc (#24245) --- vlib/v/tests/trace_calls_test.v | 1 + vlib/v/trace_calls/tracing_calls_d_musl.v | 8 -------- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 vlib/v/trace_calls/tracing_calls_d_musl.v diff --git a/vlib/v/tests/trace_calls_test.v b/vlib/v/tests/trace_calls_test.v index 6b9f0401ae..46bb440201 100644 --- a/vlib/v/tests/trace_calls_test.v +++ b/vlib/v/tests/trace_calls_test.v @@ -1,3 +1,4 @@ +// vtest build: !(os_id_ubuntu? && musl?) import os const vexe = @VEXE diff --git a/vlib/v/trace_calls/tracing_calls_d_musl.v b/vlib/v/trace_calls/tracing_calls_d_musl.v deleted file mode 100644 index 30d4d058b0..0000000000 --- a/vlib/v/trace_calls/tracing_calls_d_musl.v +++ /dev/null @@ -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 -}