extism / python-pdk

Write Extism plugins in Python
https://extism.org
BSD 3-Clause "New" or "Revised" License
13 stars 1 forks source link

Figure out correct rustc flags for rust >= 1.82.0 #23

Open zshipko opened 2 weeks ago

zshipko commented 2 weeks ago

It seems like after 1.81 rust requires some (nightly only?) flags to build the wasm code correctly. See https://blog.rust-lang.org/2024/09/24/webassembly-targets-change-in-default-target-features.html

zshipko commented 1 week ago

The only solution that works (which is from that link) requires switching to nightly. We need to figure out what the trade-offs are between switching to nightly or only supporting <= 1.81