You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.
Hi, can we get updated version for this repo example-helloworld since building latest throws error when running cargo build-bpf.
❯ cargo build-bpf
info: uninstalling toolchain 'solana'
info: toolchain 'solana' uninstalled
error: package `bumpalo v3.15.4` cannot be built because it requires rustc 1.73.0 or newer, while the currently active rustc version is 1.68.0-dev
Either upgrade to rustc 1.73.0 or newer, or use
cargo update -p [email protected] --precise ver
where `ver` is the latest version of `bumpalo` supporting rustc 1.68.0-dev
Thank you!
The text was updated successfully, but these errors were encountered:
candid@DESKTOP-5D7VSM9:~/example-helloworld/src/program-rust$ npm run build:program-rust
> [email protected] build:program-rust
> cargo build-bpf --manifest-path=./src/program-rust/Cargo.toml --bpf-out-dir=dist/program
error: package `bumpalo v3.16.0` cannot be built because it requires rustc 1.73.0 or newer, while the currently active rustc version is 1.72.0-dev
Either upgrade to rustc 1.73.0 or newer, or use
cargo update -p [email protected] --precise ver
where `ver` is the latest version of `bumpalo` supporting rustc 1.72.0-dev
You need to put your solana-program as dev-dependency instead of dependencies. So when using cargo add for solana, you need to use --dev flag. So just update your cargo toml and move it from dependencies to dev-dependencies.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, can we get updated version for this repo
example-helloworld
since building latest throws error when runningcargo build-bpf
.Thank you!
The text was updated successfully, but these errors were encountered: