raviqqe/melior

melior 0.14.1 is broken if Cargo.lock contains melior-macro 0.8.0 and not 0.8.1

Closed this issue · 2 comments

error: invalid field table_gen
  --> /Users/edgar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/melior-0.14.1/src/dialect/ods.rs:44:16
   |
44 |     table_gen: r#"include "mlir/Dialect/Func/IR/FuncOps.td""#
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: invalid field table_gen
  --> /Users/edgar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/melior-0.14.1/src/dialect/ods.rs:48:16
   |
48 |     table_gen: r#"include "mlir/Dialect/Index/IR/IndexOps.td""#
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...

For more information about this error, try `rustc --explain E0433`.
error: could not compile `melior` (lib) due to 30 previous errors
warning: build failed, waiting for other jobs to finish...

Updating melior to 0.14.1 will break it if you do not run cargo update or cargo update -p melior-macro.

Thank you for the report! It had to be a minor version bump...

Melior v0.15.0 and its macro crate v0.9.0 have been released.