-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
569bff1
commit 5f9a287
Showing
1 changed file
with
0 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,2 @@ | ||
[registries.crates-io] | ||
protocol = "sparse" | ||
|
||
# musl targets require -crt-static, panic=abort must be set again because this overrides the | ||
# rustflags set for the build key. | ||
[target.aarch64-unknown-linux-musl] | ||
rustflags = ["-C", "target-feature=-crt-static"] | ||
|
||
[target.arm-unknown-linux-musleabihf] | ||
rustflags = ["-C", "target-feature=-crt-static"] | ||
|
||
[target.armv7-unknown-linux-musleabihf] | ||
rustflags = ["-C", "target-feature=-crt-static"] | ||
|
||
[target.i686-unknown-linux-musl] | ||
rustflags = ["-C", "target-feature=-crt-static"] | ||
|
||
[target.x86_64-unknown-linux-musl] | ||
rustflags = ["-C", "target-feature=-crt-static"] | ||
|
||
# On BSD-like platforms, the link-args `-undefined` and `dynamic_lookup` must be set to allow | ||
# calling functions from libjulia without explicitly linking it. Like the musl targets above, | ||
# panic=abort is set again. | ||
[target.aarch64-apple-darwin] | ||
rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"] | ||
|
||
[target.x86_64-apple-darwin] | ||
rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"] | ||
|
||
[target.x86_64-unknown-freebsd] | ||
rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"] |