Skip to content

Commit f2de646

Browse files
committed
Update .cargo/config.toml
1 parent 4ffda94 commit f2de646

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.cargo/config.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
linker = "clang"
33
rustflags = [
44
"-C", "link-arg=-fuse-ld=lld",
5+
"-C", "link-arg=--no-as-needed",
56
"-C", "link-arg=-lc++",
67
"-C", "link-arg=-lc++abi",
7-
"-C", "link-arg=-static",
88
"-C", "target-feature=+crt-static",
99
"-L", "/usr/lib/x86_64-linux-musl",
1010
]
@@ -15,3 +15,4 @@ CXX_x86_64-unknown-linux-musl = "clang++"
1515
AR_x86_64-unknown-linux-musl = "ar"
1616
CFLAGS_x86_64-unknown-linux-musl = "-fPIC"
1717
CXXFLAGS_x86_64-unknown-linux-musl = "-fPIC -stdlib=libc++"
18+
LDFLAGS_x86_64-unknown-linux-musl = "-stdlib=libc++ -lc++abi"

0 commit comments

Comments
 (0)