anza-xyz / platform-tools

Apache License 2.0
45 stars 32 forks source link

Cannot compile BPF contract if uint dependency is used #38

Closed great9 closed 2 years ago

great9 commented 2 years ago

Solana BPF uses rust 1.56.0-dev while min version for uint 0.9.1 is rust 1.56.1. Can we get this updated?

dmakarov commented 2 years ago

We're in the process of upgrading the toolchain to rust 1.59. It's preferable to open such issues in solana-labs/solana repository rather than this one.

sadeghte commented 2 years ago

Any progress ?

great9 commented 2 years ago

Any progress ?

it's been updated. delete the installed bpf toolchain, install the latest solana release and you should have bpf-tools with rustc v1.59.

sadeghte commented 2 years ago

@great9 It works. thanks.