diff options
| author | Glenn Smith <glenn@vector35.com> | 2022-06-29 17:28:31 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2022-09-29 21:02:20 -0400 |
| commit | 642d32f688d735decccf2b844d113c436982f5e0 (patch) | |
| tree | 0148b8474bd154345c121c623b2fa23159e0c755 /rust/src/platform.rs | |
| parent | 207925956bb8ca0174d40523fda70bfb5bc7bd38 (diff) | |
[Rust API] Make more types convertible to BN types
Diffstat (limited to 'rust/src/platform.rs')
| -rw-r--r-- | rust/src/platform.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/platform.rs b/rust/src/platform.rs index d0cc9282..6bdf8c9f 100644 --- a/rust/src/platform.rs +++ b/rust/src/platform.rs @@ -281,7 +281,7 @@ impl TypeParser for Platform { let mut include_dirs = vec![]; for dir in include_directories.iter() { - let d = dir.as_ref().to_string_lossy().as_bytes_with_nul(); + let d = dir.as_ref().to_string_lossy().to_string().as_bytes_with_nul(); include_dirs.push(d.as_ptr() as _); } |
