From e579d038ee62e99d38f54104fd5e8960dfe35ce5 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 10 Dec 2024 18:08:28 -0600 Subject: [PATCH] Use PIC? --- .cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index bc7bfd60d318..86455a2f2f08 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -7,3 +7,6 @@ dev = "run --package uv-dev --features dev" # See: https://github.com/astral-sh/ruff/issues/11503 [target.'cfg(all(target_env = "msvc", target_os = "windows"))'] rustflags = ["-C", "target-feature=+crt-static"] + +[target.powerpc64le-unknown-linux-musl] +rustflags = ["-C", "relocation-model=pic"]