veloren/.cargo/config.toml

35 lines
1.9 KiB
TOML
Raw Normal View History

2020-07-06 06:36:24 +00:00
[target.x86_64-unknown-linux-gnu]
rustflags = [
"-C", "link-arg=-fuse-ld=gold",
]
2020-07-06 06:36:24 +00:00
[target.x86_64-pc-windows-gnu]
rustflags = [
# Required for mimalloc
"-C", "link-arg=-lpsapi",
]
[alias]
2022-02-21 01:33:58 +00:00
# tools
cmd-doc-gen = "run --features=bin_cmd_doc_gen --bin cmd_doc_gen"
2021-02-12 05:15:10 +00:00
csv-export = "run --manifest-path common/Cargo.toml --features=bin_csv --bin csv_export"
csv-import = "run --manifest-path common/Cargo.toml --features=bin_csv --bin csv_import"
dot-recipes = "run --manifest-path common/Cargo.toml --features=bin_graphviz --bin recipe_graphviz"
dot-skills = "run --manifest-path common/Cargo.toml --features=bin_graphviz --bin skill_graphviz"
2022-12-15 16:19:49 +00:00
img-export = "run --manifest-path voxygen/Cargo.toml --features=bin_img-export --bin img-export"
2022-02-21 01:33:58 +00:00
# server-cli
2020-08-07 19:27:15 +00:00
server = "run --bin veloren-server-cli"
2022-02-21 01:33:58 +00:00
test-server = "run --bin veloren-server-cli --no-default-features --features simd"
tracy-server = "run --bin veloren-server-cli --features tracy,simd --profile no_overflow"
tracy-server-debuginfo = "run --bin veloren-server-cli --features tracy,simd --profile no_overflow_debuginfo"
tracy-server-releasedebuginfo = "run --bin veloren-server-cli --features tracy,simd --profile releasedebuginfo"
tracy-test-server = "run --bin veloren-server-cli --no-default-features --features tracy,simd --profile no_overflow"
2022-02-21 01:33:58 +00:00
# voxygen
2024-02-27 17:12:36 +00:00
test-voxygen = "run --bin veloren-voxygen --no-default-features --features simd,egui-ui,shaderc-from-source,hot-reloading"
2022-02-21 01:33:58 +00:00
tracy-voxygen = "run --bin veloren-voxygen --no-default-features --features tracy,simd,egui-ui,shaderc-from-source --profile no_overflow"
dbg-voxygen = "run --bin veloren-voxygen --profile debuginfo"
# misc
swarm = "run --bin swarm --features client/bin_bot,client/tick_network --"
2023-01-10 00:41:07 +00:00
ci-clippy = "clippy --all-targets --locked --features=bin_cmd_doc_gen,bin_compression,bin_csv,bin_graphviz,bin_bot,bin_asset_migrate,asset_tweak,bin,stat"
2024-02-16 19:12:23 +00:00
ci-clippy2 = "clippy -p veloren-voxygen --locked --no-default-features --features=default-publish"