We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88893f9 commit a37c652Copy full SHA for a37c652
.cargo/config
@@ -1,2 +1,8 @@
1
[build]
2
target = "x86_64-unknown-linux-musl"
3
+
4
+[target.aarch64-unknown-linux-musl]
5
+# On aarch64 musl depends on some libgcc functions (i.e `__addtf3` and other `*tf3` functions) for logic that uses
6
+# long double. Such functions are not builtin in the rust compiler, so we need to get them from libgcc.
7
+# No need for the `crt_static` flag as rustc appends it by default.
8
+rustflags = [ "-C", "link-arg=-lgcc" ]
0 commit comments