Skip to content

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

Merged
merged 2 commits into from
Dec 14, 2020
Merged

Update bindgen #159

merged 2 commits into from
Dec 14, 2020

Conversation

ionut-arm
Copy link
Member

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.

Copy link
Member

@hug-dev hug-dev left a 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.
Copy link
Member

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?

Copy link
Member Author

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

Copy link
Collaborator

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!
Copy link
Member

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.

Copy link
Member Author

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.

Copy link
Collaborator

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.

Copy link
Member Author

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.

Copy link
Member Author

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 🤔

Copy link
Member

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 from apt
  • Fedora using the latest version of cargo from dnf
  • 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.

decathorpe and others added 2 commits December 11, 2020 13:23
Copy link
Collaborator

@puiterwijk puiterwijk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@Superhepper Superhepper merged commit f803b49 into parallaxsecond:master Dec 14, 2020
@ionut-arm ionut-arm deleted the update-bindgen branch August 1, 2022 09:46
tgonzalezorlandoarm pushed a commit to tgonzalezorlandoarm/rust-tss-esapi that referenced this pull request Mar 14, 2024
Update partners file with web links and logos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants