Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Derive Debug for DataDescription
  • Loading branch information
bjorn3 committed Apr 6, 2023
commit b80fa72b93ce2bbd9ee3146b18f92bdaf1665982
2 changes: 1 addition & 1 deletion cranelift/module/src/data_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl Init {
}

/// A description of a data object.
#[derive(Clone)]
#[derive(Clone, Debug)]
pub struct DataDescription {
/// How the data should be initialized.
pub init: Init,
Expand Down
2 changes: 1 addition & 1 deletion cranelift/module/src/module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ impl DataDeclaration {
}

/// A translated `ExternalName` into something global we can handle.
#[derive(Clone)]
#[derive(Clone, Debug)]
pub enum ModuleExtName {
/// User defined function, converted from `ExternalName::User`.
User {
Expand Down