SamKG / iree-rs

Rustic bindings for IREE
17 stars 4 forks source link

Build fails: iree_hal_buffer_view_allocate_buffer doesn't exists #2

Open gmmyung opened 1 year ago

gmmyung commented 1 year ago

This is the compiler output, the latest version of IREE seems to break this binding.

error[E0432]: unresolved import `iree_sys::iree::runtime::api::iree_hal_buffer_view_allocate_buffer`
 --> /Users/gmmyung/.cargo/registry/src/index.crates.io-6f17d22bba15001f/iree-rs-0.1.1/src/types/hal_buffer.rs:6:60
  |
6 |         iree_hal_buffer_params_t, iree_hal_buffer_usage_t, iree_hal_buffer_view_allocate_buffer,
  |                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |                                                            |
  |                                                            no `iree_hal_buffer_view_allocate_buffer` in `iree::runtime::api`
  |                                                            help: a similar name exists in the module: `iree_hal_buffer_view_allocate_buffer_copy`
SamKG commented 1 year ago

Thanks for the issue! It seems I will have to finally pin an IREE version to stop things like this from happening.