Skip to content

Commit 4b1d38c

Browse files
committed
u
1 parent ff82793 commit 4b1d38c

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
@@ -25,6 +25,10 @@ rustflags = ["-C", "target-feature=+crt-static"]
2525
[target.aarch64-pc-windows-msvc]
2626
rustflags = ["-C", "target-feature=+crt-static"]
2727

28+
[target.'cfg(target_os = "linux")']
29+
rustflags = ["-C", "linker-features=-lld", "-C", "link-args=-Wl,--warn-unresolved-symbols"]
30+
31+
2832
# To be able to run unit tests on Windows, support compilation to 'x86_64-pc-windows-msvc'.
2933
# Use Hybrid CRT to reduce the size of the binary (Coming by default with Windows 10 and later versions).
3034
[target.'cfg(target_os = "windows")']

0 commit comments

Comments
 (0)