From 013f95232f78504fbbbc5eb5a6527def5b3860f0 Mon Sep 17 00:00:00 2001
From: Ana Hobden <operator@hoverbear.org>
Date: Thu, 6 Jan 2022 11:25:56 -0800
Subject: [PATCH] Update cargo config for all examples (#365)

Signed-off-by: Ana Hobden <operator@hoverbear.org>
---
 nix/templates/default/.cargo/config     | 16 +++++++++++-----
 pgx-examples/aggregate/.cargo/config    | 16 +++++++++++-----
 pgx-examples/arrays/.cargo/config       | 16 +++++++++++-----
 pgx-examples/bad_ideas/.cargo/config    | 16 +++++++++++-----
 pgx-examples/bgworker/.cargo/config     | 16 +++++++++++-----
 pgx-examples/bytea/.cargo/config        | 16 +++++++++++-----
 pgx-examples/custom_sql/.cargo/config   | 16 +++++++++++-----
 pgx-examples/custom_types/.cargo/config | 16 +++++++++++-----
 pgx-examples/errors/.cargo/config       | 16 +++++++++++-----
 pgx-examples/operators/.cargo/config    | 16 +++++++++++-----
 pgx-examples/schemas/.cargo/config      | 16 +++++++++++-----
 pgx-examples/shmem/.cargo/config        | 16 +++++++++++-----
 pgx-examples/spi/.cargo/config          | 16 +++++++++++-----
 pgx-examples/srf/.cargo/config          | 16 +++++++++++-----
 pgx-examples/strings/.cargo/config      | 16 +++++++++++-----
 pgx-examples/triggers/.cargo/config     | 16 +++++++++++-----
 pgx-tests/.cargo/config                 | 16 +++++++++++-----
 17 files changed, 187 insertions(+), 85 deletions(-)

diff --git a/nix/templates/default/.cargo/config b/nix/templates/default/.cargo/config
index 3d5465ea3..88a3edca9 100644
--- a/nix/templates/default/.cargo/config
+++ b/nix/templates/default/.cargo/config
@@ -1,16 +1,22 @@
 # Auto-generated by pgx. You may edit this, or delete it to have a new one created.
 
 [target.x86_64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.x86_64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.aarch64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-unknown-freebsd]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
diff --git a/pgx-examples/aggregate/.cargo/config b/pgx-examples/aggregate/.cargo/config
index 3d5465ea3..88a3edca9 100644
--- a/pgx-examples/aggregate/.cargo/config
+++ b/pgx-examples/aggregate/.cargo/config
@@ -1,16 +1,22 @@
 # Auto-generated by pgx. You may edit this, or delete it to have a new one created.
 
 [target.x86_64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.x86_64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.aarch64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-unknown-freebsd]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
diff --git a/pgx-examples/arrays/.cargo/config b/pgx-examples/arrays/.cargo/config
index 3d5465ea3..88a3edca9 100644
--- a/pgx-examples/arrays/.cargo/config
+++ b/pgx-examples/arrays/.cargo/config
@@ -1,16 +1,22 @@
 # Auto-generated by pgx. You may edit this, or delete it to have a new one created.
 
 [target.x86_64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.x86_64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.aarch64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-unknown-freebsd]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
diff --git a/pgx-examples/bad_ideas/.cargo/config b/pgx-examples/bad_ideas/.cargo/config
index 3d5465ea3..88a3edca9 100644
--- a/pgx-examples/bad_ideas/.cargo/config
+++ b/pgx-examples/bad_ideas/.cargo/config
@@ -1,16 +1,22 @@
 # Auto-generated by pgx. You may edit this, or delete it to have a new one created.
 
 [target.x86_64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.x86_64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.aarch64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-unknown-freebsd]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
diff --git a/pgx-examples/bgworker/.cargo/config b/pgx-examples/bgworker/.cargo/config
index 3d5465ea3..88a3edca9 100644
--- a/pgx-examples/bgworker/.cargo/config
+++ b/pgx-examples/bgworker/.cargo/config
@@ -1,16 +1,22 @@
 # Auto-generated by pgx. You may edit this, or delete it to have a new one created.
 
 [target.x86_64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.x86_64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.aarch64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-unknown-freebsd]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
diff --git a/pgx-examples/bytea/.cargo/config b/pgx-examples/bytea/.cargo/config
index 3d5465ea3..88a3edca9 100644
--- a/pgx-examples/bytea/.cargo/config
+++ b/pgx-examples/bytea/.cargo/config
@@ -1,16 +1,22 @@
 # Auto-generated by pgx. You may edit this, or delete it to have a new one created.
 
 [target.x86_64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.x86_64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.aarch64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-unknown-freebsd]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
diff --git a/pgx-examples/custom_sql/.cargo/config b/pgx-examples/custom_sql/.cargo/config
index 3d5465ea3..88a3edca9 100644
--- a/pgx-examples/custom_sql/.cargo/config
+++ b/pgx-examples/custom_sql/.cargo/config
@@ -1,16 +1,22 @@
 # Auto-generated by pgx. You may edit this, or delete it to have a new one created.
 
 [target.x86_64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.x86_64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.aarch64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-unknown-freebsd]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
diff --git a/pgx-examples/custom_types/.cargo/config b/pgx-examples/custom_types/.cargo/config
index 3d5465ea3..88a3edca9 100644
--- a/pgx-examples/custom_types/.cargo/config
+++ b/pgx-examples/custom_types/.cargo/config
@@ -1,16 +1,22 @@
 # Auto-generated by pgx. You may edit this, or delete it to have a new one created.
 
 [target.x86_64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.x86_64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.aarch64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-unknown-freebsd]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
diff --git a/pgx-examples/errors/.cargo/config b/pgx-examples/errors/.cargo/config
index 3d5465ea3..88a3edca9 100644
--- a/pgx-examples/errors/.cargo/config
+++ b/pgx-examples/errors/.cargo/config
@@ -1,16 +1,22 @@
 # Auto-generated by pgx. You may edit this, or delete it to have a new one created.
 
 [target.x86_64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.x86_64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.aarch64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-unknown-freebsd]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
diff --git a/pgx-examples/operators/.cargo/config b/pgx-examples/operators/.cargo/config
index 3d5465ea3..88a3edca9 100644
--- a/pgx-examples/operators/.cargo/config
+++ b/pgx-examples/operators/.cargo/config
@@ -1,16 +1,22 @@
 # Auto-generated by pgx. You may edit this, or delete it to have a new one created.
 
 [target.x86_64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.x86_64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.aarch64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-unknown-freebsd]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
diff --git a/pgx-examples/schemas/.cargo/config b/pgx-examples/schemas/.cargo/config
index 3d5465ea3..88a3edca9 100644
--- a/pgx-examples/schemas/.cargo/config
+++ b/pgx-examples/schemas/.cargo/config
@@ -1,16 +1,22 @@
 # Auto-generated by pgx. You may edit this, or delete it to have a new one created.
 
 [target.x86_64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.x86_64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.aarch64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-unknown-freebsd]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
diff --git a/pgx-examples/shmem/.cargo/config b/pgx-examples/shmem/.cargo/config
index 3d5465ea3..88a3edca9 100644
--- a/pgx-examples/shmem/.cargo/config
+++ b/pgx-examples/shmem/.cargo/config
@@ -1,16 +1,22 @@
 # Auto-generated by pgx. You may edit this, or delete it to have a new one created.
 
 [target.x86_64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.x86_64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.aarch64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-unknown-freebsd]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
diff --git a/pgx-examples/spi/.cargo/config b/pgx-examples/spi/.cargo/config
index 3d5465ea3..88a3edca9 100644
--- a/pgx-examples/spi/.cargo/config
+++ b/pgx-examples/spi/.cargo/config
@@ -1,16 +1,22 @@
 # Auto-generated by pgx. You may edit this, or delete it to have a new one created.
 
 [target.x86_64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.x86_64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.aarch64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-unknown-freebsd]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
diff --git a/pgx-examples/srf/.cargo/config b/pgx-examples/srf/.cargo/config
index 3d5465ea3..88a3edca9 100644
--- a/pgx-examples/srf/.cargo/config
+++ b/pgx-examples/srf/.cargo/config
@@ -1,16 +1,22 @@
 # Auto-generated by pgx. You may edit this, or delete it to have a new one created.
 
 [target.x86_64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.x86_64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.aarch64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-unknown-freebsd]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
diff --git a/pgx-examples/strings/.cargo/config b/pgx-examples/strings/.cargo/config
index 3d5465ea3..88a3edca9 100644
--- a/pgx-examples/strings/.cargo/config
+++ b/pgx-examples/strings/.cargo/config
@@ -1,16 +1,22 @@
 # Auto-generated by pgx. You may edit this, or delete it to have a new one created.
 
 [target.x86_64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.x86_64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.aarch64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-unknown-freebsd]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
diff --git a/pgx-examples/triggers/.cargo/config b/pgx-examples/triggers/.cargo/config
index 3d5465ea3..88a3edca9 100644
--- a/pgx-examples/triggers/.cargo/config
+++ b/pgx-examples/triggers/.cargo/config
@@ -1,16 +1,22 @@
 # Auto-generated by pgx. You may edit this, or delete it to have a new one created.
 
 [target.x86_64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.x86_64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.aarch64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-unknown-freebsd]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
diff --git a/pgx-tests/.cargo/config b/pgx-tests/.cargo/config
index 3d5465ea3..88a3edca9 100644
--- a/pgx-tests/.cargo/config
+++ b/pgx-tests/.cargo/config
@@ -1,16 +1,22 @@
 # Auto-generated by pgx. You may edit this, or delete it to have a new one created.
 
 [target.x86_64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-unknown-linux-gnu]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.x86_64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
+
+[target.aarch64-unknown-linux-musl]
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.aarch64-apple-darwin]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"
 
 [target.x86_64-unknown-freebsd]
-linker = "./.cargo/pgx-linker-script.sh"
+linker = ".cargo/pgx-linker-script.sh"