You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using LTO and especially the -Clinker-plugin-lto option, object files are emitted as LLVM bitcode and not machine code.
Currently, uniffi_bindgen only supports proper machine code and fails to extract metadata from object files that contain LLVM bitcode and fails with a Unknown library format.
When using LTO and especially the
-Clinker-plugin-lto
option, object files are emitted as LLVM bitcode and not machine code.Currently,
uniffi_bindgen
only supports proper machine code and fails to extract metadata from object files that contain LLVM bitcode and fails with aUnknown library format
.uniffi-rs/uniffi_bindgen/src/macro_metadata/extract.rs
Lines 27 to 35 in 305454d
Since the binary metadata extraction is currently solely based on
goblin
capabilities, I was wondering:a. Given that it contains all required metadata as in normal machine code.
goblin
crate would accept bitcode support.The text was updated successfully, but these errors were encountered: