sameer / svg2gcode

Convert vector graphics to g-code for pen plotters, laser engravers, and other CNC machines
https://sameer.github.io/svg2gcode
MIT License
241 stars 48 forks source link

cannot build unknown feature `proc_macro_span_shrink` #43

Closed monperrus closed 9 months ago

monperrus commented 9 months ago

FYI cannot build today

$ cargo --version
cargo 1.73.0-nightly (694a57956 2023-07-11)

$ cargo build
   Compiling proc-macro-error v1.0.4
error[E0635]: unknown feature `proc_macro_span_shrink`
  --> /home/martin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.59/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` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
sameer commented 9 months ago

Hey, I haven't tried compiling in a while but this should be fixed by updating the dependencies. I'll try to do that sometime this weekend, or if you'd like to make a pull request I would be happy to review it.

sameer commented 9 months ago

Fixed by 915b747ec9de8acb17d7cba43d3866da521d3ead

monperrus commented 9 months ago

I confirm I can build now. Thanks a lot @sameer