Derive Debug for FaerieProduct (#1252)
This allows using Result::unwrap_err for `Result`s with FaerieProducts.
This commit is contained in:
committed by
Till Schneidereit
parent
bc9f05e5e2
commit
b9296b792d
@@ -322,6 +322,7 @@ impl Backend for FaerieBackend {
|
||||
/// This is the output of `Module`'s
|
||||
/// [`finish`](../cranelift_module/struct.Module.html#method.finish) function.
|
||||
/// It provides functions for writing out the object file to memory or a file.
|
||||
#[derive(Debug)]
|
||||
pub struct FaerieProduct {
|
||||
/// Faerie artifact with all functions, data, and links from the module defined
|
||||
pub artifact: faerie::Artifact,
|
||||
|
||||
Reference in New Issue
Block a user