File tree Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change 1- [target.'cfg(target_os = "macos")' ]
1+ [target.x86_64-apple-darwin ]
22rustflags = [
3- "-C",
4- "link-arg=-undefined",
5- "-C",
6- "link-arg=dynamic_lookup",
3+ "-C", "link-arg=-undefined",
4+ "-C", "link-arg=dynamic_lookup",
5+ ]
6+
7+ [target.aarch64-apple-darwin]
8+ rustflags = [
9+ "-C", "link-arg=-undefined",
10+ "-C", "link-arg=dynamic_lookup",
711]
812
913# See https://github.com/rust-lang/rust/issues/59302
1014[target.x86_64-unknown-linux-musl]
1115rustflags = [
12- "-C",
13- "target-feature=-crt-static",
16+ "-C", "target-feature=-crt-static"
17+ ]
18+
19+ # See https://github.com/rust-lang/rust/issues/59302
20+ [target.aarch64-unknown-linux-musl]
21+ rustflags = [
22+ "-C", "target-feature=-crt-static"
1423]
1524
16- # Provides a small build size, but takes more time to build.
1725[profile.release]
1826lto = true
You can’t perform that action at this time.
0 commit comments