fix: rust types
(cherry picked from commit 925a0abd694f6409b6d54b6cad3a61fc916215d3)
This commit is contained in:
parent
edd9ec9e84
commit
c924fed81b
3 changed files with 4 additions and 4 deletions
|
|
@ -87,7 +87,7 @@ impl FlakeReferenceParseFlags {
|
|||
context::check_call!(raw::flake_reference_parse_flags_set_base_directory(
|
||||
&mut ctx,
|
||||
self.ptr.as_ptr(),
|
||||
base_directory.as_ptr() as *const i8,
|
||||
base_directory.as_ptr() as *const u8,
|
||||
base_directory.len()
|
||||
))
|
||||
}?;
|
||||
|
|
@ -125,7 +125,7 @@ impl FlakeReference {
|
|||
fetch_settings.raw_ptr(),
|
||||
flake_settings.ptr,
|
||||
flags.ptr.as_ptr(),
|
||||
reference.as_ptr() as *const i8,
|
||||
reference.as_ptr() as *const u8,
|
||||
reference.len(),
|
||||
// pointer to ptr
|
||||
&mut ptr,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue