-
-
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
Support for building cargo
examples
#134
Comments
Been annoyed by lack of this as well, but never got around to it. PRs welcome! |
The problem is that I'd rather we don't have to reimplement cargo. Anyone know of the status of the cargo libraryfication that was a topic a few years back? |
Likely still nothing more than a topic? I haven't followed up on it, honestly. |
cargo doesn't currently support multiple lib targets. One can workaround this by using [[example]] for the time being rust-lang/cargo#8628 (comment) My company has a very specific cargo setup for our game and engine which uses the [lib] inside our target for a sub-section of the game whereas the [[bin]]s are used for the actual game. x build seems to assume that the default lib is the one to build (it also ignores the name of the lib btw and assumes the lib and crate have the same name...). Being able to instead supply a Re-implementing cargo is of course not what you should aim for, but similar to This is a blocker for xbuild to be used atm |
It would be nice if
xbuild
supported buildingcargo
examples, so I could do e.g.x build --device=my_device --examples=my_example
The text was updated successfully, but these errors were encountered: