-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
33 lines (26 loc) · 818 Bytes
/
Cargo.toml
File metadata and controls
33 lines (26 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[package]
name = "physics-engine"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bevy = { version = "0.12.1"}
rand = "0.8.5"
[workspace]
resolver = "2" # Important! wgpu/Bevy needs this!
# Enable a small amount of optimization in debug mode
[profile.dev]
opt-level = 1
# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"]
[target.x86_64-pc-windows-gnu]
linker = "lld"
rustflags = [
"-Lnative=/home/jacob/.xwin/crt/lib/x86_64",
"-Lnative=/home/jacob/.xwin/sdk/lib/um/x86_64",
"-Lnative=/home/jacob/.xwin/sdk/lib/ucrt/x86_64"
]