summaryrefslogtreecommitdiff
path: root/rust/src/calling_convention.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/calling_convention.rs')
-rw-r--r--rust/src/calling_convention.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/calling_convention.rs b/rust/src/calling_convention.rs
index 7db61d8a..90af3aa8 100644
--- a/rust/src/calling_convention.rs
+++ b/rust/src/calling_convention.rs
@@ -58,7 +58,7 @@ pub trait CallingConvention: Sync {
pub fn register_calling_convention<A, N, C>(arch: &A, name: N, cc: C) -> Ref<CoreCallingConvention>
where
A: Architecture,
- N: AsCStr,
+ N: IntoCStr,
C: 'static + CallingConvention,
{
struct CustomCallingConventionContext<C>