-
Notifications
You must be signed in to change notification settings - Fork 68
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
How to select version #184
Comments
I use yocto's PREFERRED_VERSION variable, set in my local.conf:
|
Is it possible to select the rust version on a per-recipe basis? Generally I want to use latest stable rust, but some things need a fixed version (specifically in our case, Zenoh needing to built with rust 1.75) |
I don't think there's an easy way to do this, to my knowledge you can't have two versions of a package at the same time. |
There's no guide for it at the moment, but it should be possible to use Yocto multiconfig to do this. There's a short guide here and more details in the Yocto documentation itself. If you get this working it'd be awesome to see your notes on how! |
Yeah, that works @nastevens I was able to create a
Add Then In myrustdemo's log.do_compile I can see
|
That's great, thanks for testing that out @seimonw! |
Hi,
when I check the code, it seems there are many different cargo version supported at the same time. Can you please update documentation on how a version can be selected. I was not able to find an answer looking at the Yocto documentation.
Thx
Ralph
The text was updated successfully, but these errors were encountered: