We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fd2831 commit 14cee64Copy full SHA for 14cee64
.changes/change-pr-1958.md
@@ -0,0 +1,5 @@
1
+---
2
+"fs": patch
3
4
+
5
+Fix compilation on targets with pointer width of `16` or `32`
plugins/fs/src/commands.rs
@@ -316,12 +316,14 @@ pub async fn read<R: Runtime>(
316
let nread = nread.to_be_bytes();
317
let mut out = [0; 8];
318
out[6..].copy_from_slice(&nread);
319
+ out
320
};
321
#[cfg(target_pointer_width = "32")]
322
let nread = {
323
324
325
out[4..].copy_from_slice(&nread);
326
327
328
#[cfg(target_pointer_width = "64")]
329
0 commit comments