Closed
Description
here are what I have done to install rust from source, and I am new in rust. can someone offer me some help about this error and give me detailed instruction on how to install rust from source correctly?
- I download the zip file to /public/home/litz/mysw
- unzip the zip file in the same dir
cd ./rust-31032ecb1550a402a726e9c244f6a716b214cc9d
./configure --set install.prefix=/public/home/litz/mysw/rust
./x.py build && ./x.py install
- exit with the error
error: manifest path `/public/home/likun/mysw/rust-31032ecb1550a402a726e9c244f6a716b214cc9d/src/tools/cargo/Cargo.toml` does not exist
thread 'main' panicked at 'command did not execute successfully: RUSTC_BOOTSTRAP="1" "/public/home/litz/mysw/rust-31032ecb1550a402a726e9c244f6a716b214cc9d/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "metadata" "--format-version" "1" "--no-deps" "--manifest-path" "/public/home/litz/mysw/rust-31032ecb1550a402a726e9c244f6a716b214cc9d/src/tools/cargo/Cargo.toml"