1[build]
2# v0 mangling scheme provides more detailed backtraces around closures
3rustflags = ["-C", "symbol-mangling-version=v0", "--cfg", "tokio_unstable"]
4
5[alias]
6xtask = "run --package xtask --"
7perf-test = ["test", "--profile", "release-fast", "--lib", "--bins", "--tests", "--all-features", "--config", "target.'cfg(true)'.runner='cargo run -p perf --release'", "--config", "target.'cfg(true)'.rustflags=[\"--cfg\", \"perf_enabled\"]"]
8perf-compare = ["run", "--release", "-p", "perf", "--", "compare"]
9
10[target.'cfg(target_os = "windows")']
11rustflags = [
12 "--cfg",
13 "windows_slim_errors", # This cfg will reduce the size of `windows::core::Error` from 16 bytes to 4 bytes
14 "-C",
15 "target-feature=+crt-static", # This fixes the linking issue when compiling livekit on Windows
16]
17
18[env]
19MACOSX_DEPLOYMENT_TARGET = "10.15.7"