Skip to content
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

Do not install rustc via rosdep #13

Merged
merged 2 commits into from
Sep 14, 2023
Merged

Do not install rustc via rosdep #13

merged 2 commits into from
Sep 14, 2023

Conversation

Yadunund
Copy link
Member

The nexus_zenoh_bridge package currently lists cargo as its dependency which will install rustc v1.66.1 which is the version installable via apt in Ubuntu 22.04 and most platforms. However, we would like to use the latest rustc 1.71 to build other cargo crates in the system.

run: |
apt update && apt install -y git curl libclang-dev
- name: Setup Rust for nexus_zenoh_bridge
uses: dtolnay/[email protected]
Copy link
Member

Choose a reason for hiding this comment

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

Any particular reason for fixing 1.71? Otherwise we can do @stable, since the curl command in the README would indeed install the latest stable by default.
This wouldn't usually matter much but rustfmt behavior changed a fair bit between 1.71 and 1.72, so CI might behave differently from local checks

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for the heads up. I'll change this to @stable

Signed-off-by: Yadunund <[email protected]>
@Yadunund Yadunund merged commit 9142f79 into main Sep 14, 2023
@Yadunund Yadunund deleted the yadu/fix_rustc_version branch September 14, 2023 06:28
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.

2 participants