This commit is contained in:
34
.cargo/config.toml
Normal file
34
.cargo/config.toml
Normal file
@@ -0,0 +1,34 @@
|
||||
# This file is auto-generated by alef. DO NOT EDIT.
|
||||
# alef:hash:4e15143f4af1ae8bafbdb1506ef057da924484c66a19483966333558ad437e75
|
||||
# Re-generate with: alef scaffold
|
||||
|
||||
[build]
|
||||
incremental = true
|
||||
jobs = 4
|
||||
|
||||
[net]
|
||||
git-fetch-with-cli = true
|
||||
|
||||
[registries.crates-io]
|
||||
protocol = "sparse"
|
||||
|
||||
# Required for PyO3 / ext-php-rs cdylibs: Python and Zend C-API symbols are
|
||||
# resolved at runtime when the host loads the extension, not at link time.
|
||||
# macOS ld is strict and rejects unresolved symbols by default.
|
||||
[target.'cfg(target_os = "macos")']
|
||||
rustflags = ["-C", "link-arg=-Wl,-undefined,dynamic_lookup"]
|
||||
|
||||
[target.x86_64-pc-windows-msvc]
|
||||
linker = "rust-lld"
|
||||
|
||||
[target.i686-pc-windows-msvc]
|
||||
linker = "rust-lld"
|
||||
|
||||
[target.aarch64-unknown-linux-gnu]
|
||||
linker = "aarch64-linux-gnu-gcc"
|
||||
|
||||
[target.x86_64-unknown-linux-musl]
|
||||
linker = "musl-gcc"
|
||||
|
||||
[target.wasm32-unknown-unknown]
|
||||
rustflags = ["-C", "target-feature=+bulk-memory", "--cfg", "getrandom_backend=\"wasm_js\""]
|
||||
Reference in New Issue
Block a user