-
Notifications
You must be signed in to change notification settings - Fork 39
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
Create a cargo workspace with testing instructions. #132
Conversation
Makes it easier to run most cargo commands.
You can't mix different target architectures in the same workspace, so I'm not sure if this is going to work :/ |
Not sure I 100% follow. Are there cases where you are interested in building separate crates for different targets? And why wouldn't the |
It's common for a Rust embedded library to be used in different targets. In this case, cargo workspace won't work. It doesn't support per crate target and per crate features. |
Sorry, I don't intend to be rude, but you just repeated Ulf without pointing to any definitive sources. You can place |
That makes no difference if you use |
My bad, I meant to write |
Also, this is very very wrong. |
Yeah, I got you. Involving |
The tracking issue is: rust-lang/cargo#9406 |
Awesome, thanks. Now I understand where you're coming from. I tried this in a toy example, and you're right, cargo doesn't seem to build with per package targets.
Sweet, thank you! |
Not very useful, I know, but I'm interested in contributing to this project further.
I might send a couple of PRs similar to this one while taking a look around. Feel free to let me know if that's inappropriate :)