rust/library/profiler_builtins
Jesus Checa Hidalgo dc0fbcab7e Fix profiler_builtins build script to handle full path to profiler lib
LLVM_PROFILER_RT_LIB may be set to an absolute path (e.g., in Fedora builds),
but `-l` expects a library name, not a path. After #138273, this caused builds
to fail with a "could not find native static library" error.

This patch updates the build script to split the path into directory and
filename, using `cargo::rustc-link-search` for the directory and
`cargo::rustc-link-lib=+verbatim` for the file. This allows profiler_builtins to
correctly link the static library even when an absolute path is provided.
2025-04-11 16:57:38 +02:00
..
src Make profiler_builtins #![no_core] instead of just #![no_std] 2024-11-24 11:35:32 +11:00
build.rs Fix profiler_builtins build script to handle full path to profiler lib 2025-04-11 16:57:38 +02:00
Cargo.toml Migrate profiler_builtins to Rust 2024 2025-03-11 09:46:35 -07:00