wiggle: bugfix, generated code should use Names::runtime_mod not wiggle
as the crate from which these deps come. I worked around this in lucet, but I'll be able to revert that workaround.
This commit is contained in:
@@ -69,7 +69,8 @@ pub fn define_module_trait(names: &Names, m: &Module, errxform: &ErrorTransform)
|
||||
.unwrap_or(quote!(()));
|
||||
quote!( Result<(#(#rets),*), #err> )
|
||||
} else {
|
||||
quote!(wiggle::Trap)
|
||||
let rt = names.runtime_mod();
|
||||
quote!(#rt::Trap)
|
||||
};
|
||||
|
||||
if is_anonymous {
|
||||
|
||||
Reference in New Issue
Block a user