WolframResearch / wstp-rs

Rust bindings to the Wolfram Symbolic Transport Protocol (WSTP)
Apache License 2.0
21 stars 3 forks source link

fixup: Handle the case that bindgen panics instead of returning an error normally #53

Closed ConnorGray closed 1 year ago

ConnorGray commented 1 year ago

bindgen currently panics when libclang cannot be located, which can happen on Windows more commonly, and is a situation where we'd prefer to fallback to using the pre-generated bindings.