summaryrefslogtreecommitdiff
path: root/rust/src/calling_convention.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-05-05 13:17:30 -0400
committerMason Reed <35282038+emesare@users.noreply.github.com>2025-05-12 17:45:24 -0400
commit9dadf92c16da5cd21def79ae39ca98803c9208ec (patch)
tree3874a659bcb3818f43c1a46ab3ef081b99b47154 /rust/src/calling_convention.rs
parent9f5491a56f6af1fa9b030f23d40150673a52aaa1 (diff)
[Rust] Rename `AsCStr` to `IntoCStr`
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>