We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
repr(C)
1 parent dcaf4b5 commit 49af5f0Copy full SHA for 49af5f0
library/std/src/sys/xous/stdio.rs
@@ -27,7 +27,7 @@ impl Stdout {
27
28
impl io::Write for Stdout {
29
fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
30
- #[repr(align(4096))]
+ #[repr(C, align(4096))]
31
struct LendBuffer([u8; 4096]);
32
let mut lend_buffer = LendBuffer([0u8; 4096]);
33
let connection = log_server();
@@ -53,7 +53,7 @@ impl Stderr {
53
54
impl io::Write for Stderr {
55
56
57
58
59
0 commit comments