Stream: wit-bindgen

Topic: all wit-bindgen projects are failing


view this post on Zulip Sehz (Nov 21 2024 at 05:11):

Hi. All wit-bindgen proc-macros are panicking. This is probably due to this: https://github.com/dtolnay/proc-macro2/issues/483.

wit-bindgen takes a dependency on syn = { version = "2.0", features = ["printing"] }. The latest patch release of syn, and with it proc-macro2 1.0.89 to 1.0.90 is producing panics with the message ...

view this post on Zulip Pat Hickey (Nov 21 2024 at 05:13):

Yep. I discovered this as I’m logging off for the evening, we will sort it out in the morning. In the meantime you could pin your project to proc-macro2 =1.0.98

view this post on Zulip Sehz (Nov 21 2024 at 05:49):

new version of proc-macro2 is out which fixed the issue.

view this post on Zulip Victor Adossi (Nov 21 2024 at 18:21):

Added that to a PR to force it in newer builds:

https://github.com/bytecodealliance/wit-bindgen/pull/1095

We read every piece of feedback, and take your input very seriously.

Last updated: Dec 23 2024 at 12:05 UTC