-
Notifications
You must be signed in to change notification settings - Fork 56
Update bindgen #159
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
Update bindgen #159
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!! We should keep that in mind for Parsec projects as well 👍
At the moment we use test and support the following Rust compiler versions: | ||
|
||
* On Ubuntu we test with the latest stable compiler version, as accessible through `rustup`. | ||
* On Fedora we test with the compiler version included with the Fedora 33 release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we test with the latest compiler version available in Fedora 33?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we test with the one that comes with the OS release? CC @puiterwijk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we test with the one that's included in Fedora 33.
* On Ubuntu we test with the latest stable compiler version, as accessible through `rustup`. | ||
* On Fedora we test with the compiler version included with the Fedora 33 release. | ||
|
||
If you need support for other versions of the compiler, get in touch with us to see what we can do! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe mention somewhere that for those supproted versions we test on the CI that every PR works with them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made a mistake on the line before the list above, will include it there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was under the impression that we would use the packaged versions for the different distributions so in the case of ubuntu one would need to do the following: apt update && apt -y upgrade && apt install rustc && apt install cargo
. So that we could say that we support the latest version that the distribution provides using its update channels.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the Dockerfile we actually build with the pipe-to-shell command from the Rust website - but that's a good point, maybe we should try out the one included in Ubuntu.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems the latest supported is 1.43.0
(for rustc
), but the weird thing is that cargo
has version 0.44.1
🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was under the impression that we would use the packaged versions for the different distributions
I think we decided that as well for all the distributions that we want to support (like Fedora) but I think we should also definitely test with the latest stable Rust got from rustup
. If Ubuntu is also one of the distribution we want to support then we should do the three:
- Ubuntu using the latest version of
cargo
fromapt
- Fedora using the latest version of
cargo
fromdnf
- any distrib using the latest version from
rustup
My point being that for the case when we test on rustup
, the distribution should not really matter.
Signed-off-by: Fabio Valentini <[email protected]>
Signed-off-by: Ionut Mihalcea <[email protected]>
aefa978
to
c892c2d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Update partners file with web links and logos
This uses the commit in #154 and removes the dependency on 1.38.0 and nightly.
If there is any other requirement that I forgot about, let me know.