chore(config): track macos apple-darwin linker configuration
This commit is contained in:
parent
f3355bd180
commit
2eff59c883
1 changed files with 16 additions and 0 deletions
|
|
@ -2,6 +2,22 @@
|
|||
linker = "clang"
|
||||
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
|
||||
|
||||
[target.aarch64-apple-darwin]
|
||||
linker = "aarch64-apple-darwin-clang"
|
||||
rustflags = [
|
||||
"-C", "link-arg=-fuse-ld=lld",
|
||||
"-C", "link-arg=-isysroot",
|
||||
"-C", "link-arg=/home/oiupoyt/.local/share/MacOSX11.3.sdk",
|
||||
]
|
||||
|
||||
[target.x86_64-apple-darwin]
|
||||
linker = "x86_64-apple-darwin-clang"
|
||||
rustflags = [
|
||||
"-C", "link-arg=-fuse-ld=lld",
|
||||
"-C", "link-arg=-isysroot",
|
||||
"-C", "link-arg=/home/oiupoyt/.local/share/MacOSX11.3.sdk",
|
||||
]
|
||||
|
||||
# Linux and Macos by default have 8MB of stack storage.
|
||||
# Windows has 1MB, it isn't enough, so it's changed to 8MB also.
|
||||
[target.x86_64-pc-windows-msvc]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue