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.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/rust/src/calling_convention.rs b/rust/src/calling_convention.rs
index 90af3aa8..04d85396 100644
--- a/rust/src/calling_convention.rs
+++ b/rust/src/calling_convention.rs
@@ -55,10 +55,9 @@ pub trait CallingConvention: Sync {
fn are_argument_registers_used_for_var_args(&self) -> bool;
}
-pub fn register_calling_convention<A, N, C>(arch: &A, name: N, cc: C) -> Ref<CoreCallingConvention>
+pub fn register_calling_convention<A, C>(arch: &A, name: &str, cc: C) -> Ref<CoreCallingConvention>
where
A: Architecture,
- N: IntoCStr,
C: 'static + CallingConvention,
{
struct CustomCallingConventionContext<C>