iree-rs icon indicating copy to clipboard operation
iree-rs copied to clipboard

Build fails: iree_hal_buffer_view_allocate_buffer doesn't exists

Open gmmyung opened this issue 2 years ago • 1 comments

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`

gmmyung avatar Sep 28 '23 15:09 gmmyung

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

SamKG avatar Sep 30 '23 06:09 SamKG