Skip to content

Commit 4ffda94

Browse files
committed
Change linker behavior against libc++
1 parent df8257a commit 4ffda94

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.cargo/config.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
linker = "clang"
33
rustflags = [
44
"-C", "link-arg=-fuse-ld=lld",
5-
"-C", "link-arg=-static-libstdc++",
5+
"-C", "link-arg=-lc++",
6+
"-C", "link-arg=-lc++abi",
7+
"-C", "link-arg=-static",
68
"-C", "target-feature=+crt-static",
79
"-L", "/usr/lib/x86_64-linux-musl",
810
]

0 commit comments

Comments
 (0)