19 lines
594 B
TOML
19 lines
594 B
TOML
[env]
|
|
# This is used to set the minimum deployment target for mac
|
|
# https://cmake.org/cmake/help/latest/envvar/MACOSX_DEPLOYMENT_TARGET.html
|
|
# If unset, it uses the system one, but we want to build for older versions
|
|
# of mac os by default.
|
|
#
|
|
# This should be kept in sync with the definition of this variable in
|
|
# `script/bundle`.
|
|
MACOSX_DEPLOYMENT_TARGET = "10.14"
|
|
|
|
[build]
|
|
rustflags = ["-C", "symbol-mangling-version=v0", "-C", "link-args=-Wl,-headerpad_max_install_names"]
|
|
|
|
[net]
|
|
git-fetch-with-cli = true
|
|
|
|
[target.'cfg(target_family = "wasm")']
|
|
rustflags = ["--cfg=web_sys_unstable_apis"]
|