andriyDev / recastnavigation-rs-sys

Raw Rust FFI bindings for recastnavigation.
MIT License
7 stars 2 forks source link

Using a different opt-level (than the default) fails to link the correct libraries. #4

Closed andriyDev closed 11 months ago

andriyDev commented 11 months ago

Putting:

[profile.dev.package."*"]
opt-level = 3

[profile.dev]
opt-level = 1

in Cargo.toml (I put it in my workspaces toml if that matters) tries to link Recast-d, but cmake builds Recast, so it fails to link.

Context: Bevy says to use these options!