Open jerzybrzoska opened 3 years ago
Ahh crap! It's because of matrix-sdk but I think you can get around by using an older compiler (temporarily, I'll make a PR to update olm-rs in the sdk, or you could if you were interested?). I checked using rust 1.45 and it seems to work.
Thanks for the interest!!
I'm too much of a newbie in Rust for such an update. I appreciate your help.
I'll let you know when I get to fix this. In the mean time if you want
rustup install 1.45 minimal
rustup run 1.45 cargo r --release
would be the commands to do what you were doing. I'm not sure if 1.45 is the newest version that would actually work, I feel like I noticed it doing this a few weeks ago so maybe any compiler before 1.53 :shrug:
Thanks, I managed to launch the app having compiled it with version 1.45.
P.S. When I run error: invalid toolchain name: 'minimal'
it failed and I got the output:
error: invalid toolchain name: 'minimal'
So I decided to skip the word minimal
, like so:
rustup install 1.45 && rustup run 1.45 cargo r --release
and it worked fine.
I was just reminded that because it was only a patch release running cargo update
would have fixed it also :facepalm: so that would have been easier, sorry!
To no avail. I have just run cargo update
and then cargo run --release
and I got the same error
"error: attribute must be applied to a static variable"
I cloned the repo and run
cargo run --release
. The process of compilation was not finished due to the following error:When I repeated the attempt with
--verbose
I got the following output from the compiler: