mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
Shrink buffer for RocStr path conversion
This commit is contained in:
parent
a12b421e9a
commit
8e526631c2
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ pub struct Fd(c_int);
|
|||
|
||||
#[no_mangle]
|
||||
pub unsafe fn roc_fx_open(roc_path: RocStr) -> RocResult<Fd, Errno> {
|
||||
const BUF_BYTES: usize = 1024;
|
||||
const BUF_BYTES: usize = 256;
|
||||
|
||||
// I know that since Rust 1.39 mem::uninitialized() is deprecated in favor
|
||||
// of MaybeUninit, but I couldn't get this to work with MaybeUninit.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue