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

Helloworld rust/bump dependencies #5726

Merged
merged 2 commits into from
Oct 23, 2023
Merged

Helloworld rust/bump dependencies #5726

merged 2 commits into from
Oct 23, 2023

Conversation

tatodorov
Copy link
Contributor

This PR updates the dependencies and fixes the following error when trying to build the sample code:

package `socket2 v0.5.5` cannot be built because it requires rustc 1.63 or newer, while the currently active rustc version is 1.62.1

In addition, it updates the steps to recreate the sample code as it is outdated and following it, leads to the following errors:

  error: edition 2021 is unstable and only available with -Z unstable-options.

  error: could not compile `proc-macro2

Proposed Changes

  • Bump the versions of all dependencies to the latest ones
  • Bump Rust to version 1.73.0
  • Update the README.md with up-to-date steps to reproduce sample code

This resolves the following error when trying to build the app:

package `socket2 v0.5.5` cannot be built because it requires rustc 1.63 or newer
Currently, when following the steps to recreate the sample code,
we will face the following errors when trying to build the app:

error: edition 2021 is unstable and only available with -Z unstable-options.

error: could not compile `proc-macro2`
@netlify
Copy link

netlify bot commented Oct 21, 2023

Deploy Preview for knative ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 2b8e24b
🔍 Latest deploy log https://app.netlify.com/sites/knative/deploys/653397321757880007a3a559
😎 Deploy Preview https://deploy-preview-5726--knative.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@knative-prow knative-prow bot requested a review from ReToCode October 21, 2023 09:17
@knative-prow
Copy link

knative-prow bot commented Oct 21, 2023

Welcome @tatodorov! It looks like this is your first PR to knative/docs 🎉

@knative-prow knative-prow bot requested a review from snneji October 21, 2023 09:17
@knative-prow knative-prow bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Oct 21, 2023
@nak3
Copy link
Contributor

nak3 commented Oct 23, 2023

/lgtm
/approve

Thank you!

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Oct 23, 2023
@knative-prow
Copy link

knative-prow bot commented Oct 23, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nak3, tatodorov

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 23, 2023
@knative-prow knative-prow bot merged commit 3011f84 into knative:main Oct 23, 2023
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants