When using profiling from multiple libraries and 2 binaries, all within the same workspace, I'm getting the following error in the libraries:
error[E0433]: failed to resolve: could not find `puffin` in `profiling`
--> space-asset/src/meshlet/scene.rs:14:3
|
14 | #[profiling::function]
| ^^^^^^^^^^^^^^^^^^^^^^ could not find `puffin` in `profiling`
|
That is if I follow your "Using from a Binary / Library" exactly. I can work around this issue by propagating the feature manually from one crate to the next, but this gets ugly fast and let's just hope I didn't forget any library:
Unfortunately, I have not been able to create a minimal reproducible sample. I'm hoping you could maybe have some ideas on why it does not compile the way it should?
https://gitlab.com/spacegamedev/space-rust/-/tree/performance branch performance
When using profiling from multiple libraries and 2 binaries, all within the same workspace, I'm getting the following error in the libraries:
That is if I follow your "Using from a Binary / Library" exactly. I can work around this issue by propagating the feature manually from one crate to the next, but this gets ugly fast and let's just hope I didn't forget any library:
Unfortunately, I have not been able to create a minimal reproducible sample. I'm hoping you could maybe have some ideas on why it does not compile the way it should? https://gitlab.com/spacegamedev/space-rust/-/tree/performance branch
performance