Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Removing channel to make it build with 1.65.0 #52

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

pfrank13
Copy link
Collaborator

No description provided.

@@ -1,5 +1,4 @@
[toolchain]
channel = "nightly-2024-02-04"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you want to keep the channel entry and set it to:

channel = "stable-2022-11-03"

This should bring the 1.65.0 version to the game. I've found it's release date here: https://releases.rs/docs/1.65.0/.

Indeed:

$ nix develop
...
$ rustc --version
rustc 1.65.0 (897e37553 2022-11-02)

There were issues building out on non ARM linux for me, that doesn't
happen in Github Actions for some reason, that was stopping local dev.
The crux of the issue was 1.65.0 was upgraded to 1.78.0 via the previous
channel config and that was missing a feature something was using to
compile, specifically it was

error[E0635]: unknown feature `proc_macro_span_shrink`
  --> /home/pfrank/.asdf/installs/rust/1.65.0/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.46/src/lib.rs:92:30
   |
92 |     feature(proc_macro_span, proc_macro_span_shrink)
   |                              ^^^^^^^^^^^^^^^^^^^^^^

This fixed that.
@pfrank13 pfrank13 force-pushed the chore/fix_local_linux branch from 974b0d2 to f2ab71d Compare March 19, 2024 11:38
@pfrank13 pfrank13 requested a review from kczulko March 19, 2024 11:45
@pfrank13 pfrank13 merged commit 82de503 into unfinished_develop Mar 19, 2024
1 check passed
@pfrank13 pfrank13 deleted the chore/fix_local_linux branch March 19, 2024 11:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants