Eventual-Inc / Daft

Distributed DataFrame for Python designed for the cloud, powered by Rust
https://getdaft.io
Apache License 2.0
1.76k stars 105 forks source link

unable to build using the provided `rust-toolchain` #2212

Open universalmind303 opened 2 weeks ago

universalmind303 commented 2 weeks ago

Describe the bug

If i run rustup update to install the toolchain specified in rust-toolchain.toml, it does not install cargo, which means I can't build the project.

To Reproduce Steps to reproduce the behavior:

If i run rustup update to install the toolchain specified in rust-toolchain.toml, it does not install cargo.

> rustup toolchain remove nightly-2024-04-01
> rustup update
> make build
error: the 'cargo' binary, normally provided by the 'cargo' component, is not applicable to the 'nightly-2024-04-01-aarch64-apple-darwin' toolchain

But if i manually install the toolchain, instead of the one provided by rust-toolchain.toml, everything works

> rustup toolchain remove nightly-2024-04-01
> rustup toolchain add nightly-2024-04-01
> make build

Expected behavior The toolchain provided by rust-toolchain.toml should either provide everything needed to build the project, or there should be some explicit documentation stating how to properly set up your toolchain