https://opendal.apache.org/ logo
The installer provided by https://rustup.rs/ doesn...
# general
x
The installer provided by https://rustup.rs/ doesn't work?
m
Yes I downloaded the rustup-init.exe for Windows.
But then how to proceed with build for OpenDAL?
x
After rustup installed, you will get the following binaries include rustup, rustc and cargo
rustup will help you to install the correct toolchain based our config: https://github.com/apache/incubator-opendal/blob/main/rust-toolchain.toml
Can you check this first? Can you call rustup or cargo in shell?
m
Yes yes rustup,cargo are working as have I been learning rust previously. It is showing in terminal.
I just want to figure out the syntax to install our (OpenDAL) toolchain.
x
Oh, you don't need to do anything.
Just running cargo under opendal's root dir is ok.
cargo (which is a proxy provided by rustup) will read
rust-toolchain.toml
to make sure everything we need is setup correctly.
Are you meeting errros while running
cargo build
?
m
Okay! If I have rust installed, just running cargo build, would be fine right?
x
Yes!
m
Fetching...
Built successful
x
Congrats!
2 Views