Skip to content

Commit 6207251

Browse files
committed
chore: add rustflags for Linux target in Cargo configuration
1 parent b005757 commit 6207251

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.cargo/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
[target.'cfg(target_os="macos")']
22
# Postgres symbols won't be available until runtime
33
rustflags = ["-Clink-arg=-Wl,-undefined,dynamic_lookup"]
4+
5+
[target.'cfg(target_os="linux")']
6+
# Postgres symbols won't be available until runtime
7+
rustflags = ["-Clink-arg=-Wl,--unresolved-symbols=ignore-all"]

0 commit comments

Comments
 (0)