Closed vincenzopalazzo closed 4 months ago
Thanks for discovering this. The fix is incorrect though. rust-toolchain.toml
tells rustup which toolchain is the preferred version, not the minimum one. To change the minimum supported rust version (MSRV) rust-version
in the Cargo.toml
should be used. Fixed in https://github.com/RGB-Tools/rgb-lightning-node/commit/1a4868bdd9c83cff8bc6413e00a1f743ce900cb1 (I've set 1.75 since RGB deps have that and very soon we'll update to latest RGB version), closing this
Just a note: PR text says "Signed-off" but commit is not signed
Hi @zoedberg,
I did not know the version inside the cargo tolm file, thanks for showing me this.
Just a note: PR text says "Signed-off" but the commit is not signed
In fact, the Signed-off is not a way to say that the commit is signed with the PGP, but https://www.kernel.org/doc/html/latest/process/submitting-patches.html?highlight=signed%20off#developer-s-certificate-of-origin-1-1
Old Linux Kernel habit sorry for the confusion
Using rustc 1.70.0 and running the following command
cargo install --debug --path .
I get the following error
So this should fix the minimum rust version to 1.74
Signed-off-by: Vincenzo Palazzo vincenzopalazzodev@gmail.com