ISLE: Add a nodebug type attribute to disable derive(Debug)
I need this to move the x64 `Inst` definition into ISLE without losing its custom `Debug` implementation that prints the assembly for the `Inst`.
This commit is contained in:
4
cranelift/isle/isle_examples/nodebug.isle
Normal file
4
cranelift/isle/isle_examples/nodebug.isle
Normal file
@@ -0,0 +1,4 @@
|
||||
(type DoesNotDeriveDebug nodebug
|
||||
(enum A
|
||||
B
|
||||
C))
|
||||
Reference in New Issue
Block a user