-
Notifications
You must be signed in to change notification settings - Fork 2
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
cannot compile #4
Comments
Of note: I made zero changes to |
Yes, the last commit was a WIP thing (with me apparently messing up one of the files with a find replace I think) I pushed since I was switching computer... |
Fixed |
Unrelated side-comment: I realize you had not worked this repo for a long time. Thank you for your willingness to engage. I honestly expected radio-silence and just having to do code only in my fork. I believe this was a Wasm learning project for you; I plan to piggy-back on your experience and also use it to learn a bit of Rust Wasm. Thank you for this repo. And thank you for engaging with me. ❤️ |
I have a "new to Rust" question, if you have time to hand-hold a bit. I assume this is a "yanked version" of the "once_cell" crate. The odd thing is that the 1.8.0 version appears to be ref'd on Crates.io: once_cell v1.8.0. I am guessing that these v1.8.0 docs are just an artifact, and the real crate is "yanked" -- does that seem right to you? I've navigated the dicey waters of "just upgrade this one package" in many languages before (Python, C/C++, Javascript, Go, Perl, etc, etc, etc) and it is never a pleasant experience. But with your blessing, I will try to work the OneLife repo's |
probably because when I reverted the last two commits it downgraded the rust toolchain? |
Ok, I've made a few changes. First, rust-toolchain is no longer anchored to an old nightly, but rather to So I am going to make a pull-request. It is a smidge messy, as I had already made some typo fixes before trying to compile and I'd prefer to not tease those out of the commit. But I will try to make the commit message as explicit as possible to ensure clarity. Also, with your blessing, I am going to look at updating the repo's dependencies and some code. I.e., there are many warnings, mostly about But I will track all of that in different tickets. This ticket was intended to just track "can I compile & test it?" And after the changes found in PR 6, the answer is "yes" so I think this ticket is truly closed now. |
When trying to run tests on a few minor changes (just text strings for typos; not a single change to real code), I got this fail:
![image](https://private-user-images.githubusercontent.com/5898931/265836235-665bbf5a-041b-4cfd-adb7-63791af67d61.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDExMDYsIm5iZiI6MTczOTMwMDgwNiwicGF0aCI6Ii81ODk4OTMxLzI2NTgzNjIzNS02NjViYmY1YS0wNDFiLTRjZmQtYWRiNy02Mzc5MWFmNjdkNjEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMTkwNjQ2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YmNkOGNmNDhhMTc1MmEyNDU1OGI2MThmYmY2YTZkMTg4ZmQ1MjIwYzhhYTFhMjdmMWFmZGQxNDk0ZGJiODgxNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.dREbNY8Zr5FQ7Aiq9cW5rDWWYUkG_UA9gXOSIellhoQ)
Upon inspecting file src/lib.rs, I am really not sure exactly what I'm looking at. However, rust-analyzer is screaming Red Highlighter of Doom messages throughout the file. To a Rust Noob like me, it appears like there was some VIM scripting / macro'ing that went a bit haywire and got checked into the repo. Does the master branch still compile for you all? Or is this a "me problem"...?
Full disclosure, I have not yet checked out older commits to test compilation. Just firing off the question. I apologize for Noob questions right out of the gates.
The text was updated successfully, but these errors were encountered: