-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cross-crate flamegraph #37
Comments
Yes; if both crates have the same |
Ok so if I do nightly only without feature-guarding it it works, but with feature guards it doesn't https://github.com/sharksforarms/testflame
Doesn't seem to get the flame'd functions which aren't in the main crate i.e. |
Maybe related? |
Your repo only has a readme file in it. Can you publish again? |
Done |
I think that the problem is that this line where you import your subcrate needs to enable it's own feature. the features that are both named |
Right, I changed it to this And it works. But now that means that the dependency |
I think I got it! Using the
|
oh nice! Yeah, I gotta say I've never used features beyond the most trivial. Looks like I can close this for now; if you run into anything else feel free to re-open or make a new issue! |
Hello, I'm trying to use this across multiple crates, is this possible?
The text was updated successfully, but these errors were encountered: