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

chore: add ignore rust version to build script #960

Closed

Conversation

ratankaliani
Copy link
Member

@ratankaliani ratankaliani commented Jun 19, 2024

Add ignore rust version flag to sp1-helper.

Certain packages (such as alloy-rs), require Rust versions greater than the one specified in SP1's fork of https://github.com/succinctlabs/rust. Until we upgrade this Rust version, users will encounter errors similar to this:

  [sp1] error: package `alloy v0.1.2` cannot be built because it requires rustc 1.76 or newer, while the currently active rustc version is 1.75.0-nightly
  [sp1] Either upgrade to rustc 1.76 or newer, or use
  [sp1] cargo update alloy@0.1.2 --precise ver
  [sp1] where `ver` is the latest version of `alloy` supporting rustc 1.75.0-nightly
  thread 'main' panicked at /Users/ratankaliani/.cargo/git/checkouts/sp1-20c98843a1ffc860/b35be42/helper/src/lib.rs:47:9:
  Failed to build `blobstream-program`.

This PR ignores the Rust version in this build script by default.

@jtguibas jtguibas closed this Jul 2, 2024
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