This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
rustboyadvance-ng/Cargo.toml
Michel Heily 28fb9ffa70 chore: Refactor into crates
Been wanting to do this for a long time.
This does impose performance issues when building with the vanilla
release profile, as cargo does not perform optimizations across crate
boundary (we care mostly about inlining).
so I added release-lto profile

Also fixed some broken stuff I found across the project, meh


Former-commit-id: 06d03263cc6245313f3ea22c715479ab6da7c4d4
Former-commit-id: f93abd10c67ea8a3b8072b47462be5eca4f3e02b
2022-09-04 23:54:44 +03:00

32 lines
577 B
TOML

[workspace]
members = [
"core",
"arm7tdmi",
"utils",
"platform/rustboyadvance-sdl2",
"platform/rustboyadvance-libretro",
"platform/rustboyadvance-minifb",
"platform/rustboyadvance-wasm",
"bindings/rustboyadvance-jni",
"fps_bench"
]
default-members = ["platform/rustboyadvance-sdl2"]
[profile.dev]
opt-level = 2
debug = true
[profile.release]
debug = false
[profile.release-dev]
inherits = "release"
opt-level = 3
debug = true
debug-assertions = false
[profile.release-lto]
inherits = "release"
lto = true