use native-tls (#940)

* use native-tls

* Add linker argument for aarch64 macOS target

* Update linker settings in config.toml

Remove linker configuration for macOS and consolidate for Windows.

* Revert "Update linker settings in config.toml"

This reverts commit 33c8da07bf.

* more
This commit is contained in:
Logan McNaughton
2026-05-23 07:34:01 +02:00
committed by GitHub
parent 6ef33204e8
commit c16e927288
3 changed files with 167 additions and 216 deletions
+4 -1
View File
@@ -11,7 +11,10 @@ rustflags = ["-C", "link-arg=/STACK:8388608"]
rustflags = ["-C", "target-cpu=x86-64-v3"]
[target.'cfg(all(target_arch = "aarch64", target_os = "macos"))']
rustflags = ["-C", "target-cpu=apple-m1"]
rustflags = [
"-C", "target-cpu=apple-m1",
"-C", "link-arg=-headerpad_max_install_names"
]
[target.'cfg(all(target_arch = "aarch64", not(target_os = "macos")))']
rustflags = ["-C", "target-cpu=cortex-a76"]