![]() It took me an embarrassingly long amount of time to realize that I needed to either update the nightly pin or unpin. Though, I came back a couple weeks later to update dependencies (including Rocket) and this time my usual incantation of cargo +nightly build failed. This did have the side effect of me pinning the nightly compiler via rustup override. Everyone worked together and eventually resolved the issue. The only solution was to pin the nightly version of Rust with a specific version of Rocket. A combination of cross linking, alpha versions, module paths, and herd mentality led to a temporary impasse. There was a time when the latest Rocket broke on nightly because the nightly version broke ring, a dependency. I’m very thankful that Rocket is maintained to this high degree. Syncing Rocket and the nightly compiler to the latest version normally fixed the issue. Since I only revisit the project about once every other week, I was always met with a compiler error, as I had most likely updated the nightly compiler in the meantime to grab a new rustfmt or clippy version, and the Rocket version wouldn’t work with that nightly. There have been a half dozen updates to Rocket and numerous updates to the nightly compiler. I was familiar with needing new versions of the nightly compiler to stay current with clippy and rustfmt, but it was a blindspot when it came to dependencies. ![]() I didn’t understand how stability was such an important feature. # fn search(data: Json ) -> Json ", data. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |