Open fralalonde opened 2 years ago
This is strange, do you have a recommendation at this point? Should we make a symlink rust-toolchain
to rust-toolchain.toml
?
I don't personally need this fixed now as I was only test-building the project, which succeeded once I renamed the file. So unless it is also confirmed by someone else things can stay as they are for now? Or you could preemptively change the filename based on my sole report, it's up to you.
Context: My intention is to use the USB host code to advance the embedded USB host stack project. Your impl was suggested by @dirbaio on Rust + USB matrix channel. Licenses are compatible (GPL3) and if it works, I'll of course add the appropriate credits and links.
@fralalonde try updating rustup (not rust), I think older rustups didn't take the .toml
file.
also, would you guys consider licensing the usb host code as Apache+MIT instead? I'm interested to add in host functionality for embassy-usb
eventually, but can't take GPL/LGPL so I'll have to reinvent the wheel if not :(
I just reinstalled rustup:
❯ rustup --version
rustup 1.24.3 (ce5817a94 2021-05-31)
Seems to be the latest, but it's 1+ year old?
I can change the turboresin's USB host code to Apache+MIT, absolutely. Will do tomorrow.
The license is updated for the USB host stack to Apache2.0+MIT
It seems that
rust-toolchain.toml
has no effect on build:make build
fails if the default toolchain is set tostable
. But if renamed torust-toolchain
(without extension) then it works as expected: the specified nightly version gets downloaded and is used for the build.I don't know why that is since the doc says both file names should work.
(env: Arch Linux, manually installed rustup)