-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"error: attribute must be applied to a static
variable" when compiling
#15
Comments
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
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 🤷 |
Thanks, I managed to launch the app having compiled it with version 1.45.
So I decided to skip the word |
I was just reminded that because it was only a patch release running |
To no avail. I have just run
|
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:The text was updated successfully, but these errors were encountered: