-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Unknown feature proc_macro_span_shrink #356
Unknown feature proc_macro_span_shrink #356
Comments
proc-macro2
due to previous error
See #348 (comment) and subsequent comments. |
For your information, wanted to raise that I'm seeing this ~exact error on the nightly toolchain (specifically
I'm not quite sure what to make of it because this project's daily scheduled CI also runs tests on the nightly build, but I figured you might want to know (or, if it's preventable, this might help others as well). |
@ericcornelissen The problem you are seeing is different from the problem that was originally reported here. |
proc-macro2 is a dependent library of the anchor framework. Whenever I am doing a anchor build, the build fails showing the following error :-
If somebody can please help with this..
error[E0635]: unknown feature
proc_macro_span_shrink
--> /Users/rohitsinha/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/proc-macro2-1.0.46/src/lib.rs:92:30
|
92 | feature(proc_macro_span, proc_macro_span_shrink)
| ^^^^^^^^^^^^^^^^^^^^^^
For more information about this error, try
rustc --explain E0635
.error: could not compile
proc-macro2
due to previous errorwarning: build failed, waiting for other jobs to finish...
error: build failed
P.S Thanks in advance for any help.
The text was updated successfully, but these errors were encountered: