
[net]
git-fetch-with-cli = true

[build]

rustdocflags = ["--cfg", "docsrs"]
rustflags = ["-Zshare-generics=y"]

[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "target-feature=+sse2", "-Zshare-generics=y"]

[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"

[target.aarch64-unknown-linux-musl]
linker = "aarch64-linux-musl-gcc"
rustflags = [
  "-C",
  "target-feature=-crt-static",
  "-C",
  "link-arg=-lgcc",
  "-Zshare-generics=y",
]

[target.x86_64-pc-windows-msvc]
linker = "rust-lld"
rustflags = ["-C", "target-feature=+crt-static", "-Zshare-generics=y"]


[target.aarch64-pc-windows-msvc]
linker = "rust-lld"

[target.armv7-unknown-linux-gnueabi]
linker = "arm-linux-gnueabihf-gcc"
rustflags = ["-C", "target-feature=-crt-static"]
